diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-10-29 06:47:00 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-10-29 06:47:00 +0000 |
commit | e8559dd683eba762b2bd374c731e7f7e8116bf70 (patch) | |
tree | d14ca2253febee2ea214d3501b02ca4e59010d2f /lib/class/browse.class.php | |
parent | f593f18131d6a0cbf30b558b208e86b9fc957f13 (diff) | |
download | ampache-e8559dd683eba762b2bd374c731e7f7e8116bf70.tar.gz ampache-e8559dd683eba762b2bd374c731e7f7e8116bf70.tar.bz2 ampache-e8559dd683eba762b2bd374c731e7f7e8116bf70.zip |
fix http auth issues, fix missing line sfrom dipsols patch, few other minor things
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r-- | lib/class/browse.class.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php index 4f6b6bcc..36f05597 100644 --- a/lib/class/browse.class.php +++ b/lib/class/browse.class.php @@ -222,7 +222,6 @@ class Browse { $valid_array = array('show_art','starts_with','alpha_match'); break; case 'artist': - case 'genre': case 'song': case 'live_stream': $valid_array = array('alpha_match','starts_with'); @@ -233,6 +232,9 @@ class Browse { array_push($valid_array,'playlist_type'); } break; + case 'tag': + $valid_array = array('object_type'); + break; default: $valid_array = array(); break; @@ -542,6 +544,9 @@ class Browse { case 'shoutbox': $sql = "SELECT `user_shout`.`id` FROM `user_shout` "; break; + case 'tag': + $sql = "SELECT `tag`.`id` FROM `tag` LEFT JOIN `tag_map` ON `tag_map`.`tag_id`=`tag`.`id` "; + break; case 'playlist_song': case 'song': default: |