summaryrefslogtreecommitdiffstats
path: root/lib/class/browse.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r--lib/class/browse.class.php7
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: