diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2011-04-02 00:22:55 -0400 |
---|---|---|
committer | Paul Arthur <flowerysong00@yahoo.com> | 2011-04-02 00:48:58 -0400 |
commit | a9da6a6fa22325ba0dfecd4d46ae23305473796f (patch) | |
tree | acef914ee602bfeb3eed98f5f06e79603a6eb74f /browse.php | |
parent | 91a6eb3a682667f49122fab5d807e8650c0d3959 (diff) | |
download | ampache-a9da6a6fa22325ba0dfecd4d46ae23305473796f.tar.gz ampache-a9da6a6fa22325ba0dfecd4d46ae23305473796f.tar.bz2 ampache-a9da6a6fa22325ba0dfecd4d46ae23305473796f.zip |
Reworked search
Still has tentacles and should have been integrated into the existing
API/Browse implementation better, but it's functional.
Diffstat (limited to 'browse.php')
-rw-r--r-- | browse.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -55,6 +55,7 @@ switch ($_REQUEST['action']) { case 'album': case 'artist': case 'playlist': + case 'smartplaylist': case 'live_stream': case 'video': case 'song': @@ -108,6 +109,11 @@ switch($_REQUEST['action']) { $browse->set_filter('playlist_type','1'); $browse->show_objects(); break; + case 'smartplaylist': + $browse->set_sort('type', 'ASC'); + $browse->set_filter('playlist_type','1'); + $browse->show_objects(); + break; case 'video': $browse->set_sort('title','ASC'); $browse->show_objects(); |