CC-84: Smart Playlists
-hides playlist content if dynamic instead of disabling -show the user how many files match specified criteria
This commit is contained in:
parent
0322e6b0c6
commit
9fcc851523
5 changed files with 94 additions and 18 deletions
|
@ -985,7 +985,11 @@ class Application_Model_Playlist
|
|||
if ($result == 0) {
|
||||
$this->storeCriteriaIntoDb($data);
|
||||
}
|
||||
return array("result"=>$result, "errors"=>$errors);
|
||||
|
||||
//get number of files that meet the criteria
|
||||
$files = $this->getListofFilesMeetCriteria();
|
||||
|
||||
return array("result"=>$result, "errors"=>$errors, "poolCount"=>$files["count"]);
|
||||
}
|
||||
|
||||
public function storeCriteriaIntoDb($p_criteriaData){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue