summaryrefslogtreecommitdiffstats
path: root/browse.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-19 04:31:52 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-19 04:31:52 +0000
commita6a8c08e3721962fd2dc5cfdc6efc1803e844a2b (patch)
tree0a2b14b3029bb3e5bef45af452d10127c0337127 /browse.php
parent619368f183a2c652f8ac40a83d847c608187e53d (diff)
downloadampache-a6a8c08e3721962fd2dc5cfdc6efc1803e844a2b.tar.gz
ampache-a6a8c08e3721962fd2dc5cfdc6efc1803e844a2b.tar.bz2
ampache-a6a8c08e3721962fd2dc5cfdc6efc1803e844a2b.zip
fixed the search a bit, made some random changes to charset and fixed some echo printf() references
Diffstat (limited to 'browse.php')
-rw-r--r--browse.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/browse.php b/browse.php
index 2df29389..7553bd6f 100644
--- a/browse.php
+++ b/browse.php
@@ -57,30 +57,30 @@ switch($_REQUEST['action']) {
Browse::set_sort('name','ASC');
$album_ids = Browse::get_objects();
Album::build_cache($album_ids,'extra');
- Browse::show_objects($album_ids);
+ Browse::show_objects();
break;
case 'tag':
Browse::set_sort('count','ASC');
$tags = Browse::get_objects();
Tag::build_cache($tags);
- Browse::show_objects($tags);
+ Browse::show_objects();
break;
case 'artist':
Browse::set_sort('name','ASC');
$artist_ids = Browse::get_objects();
Artist::build_cache($artist_ids,'extra');
- Browse::show_objects($artist_ids);
+ Browse::show_objects();
break;
case 'song':
Browse::set_sort('title','ASC');
$song_ids = Browse::get_objects();
Song::build_cache($song_ids);
- Browse::show_objects($song_ids);
+ Browse::show_objects();
break;
case 'live_stream':
Browse::set_sort('name','ASC');
$live_stream_ids = Browse::get_objects();
- Browse::show_objects($live_stream_ids);
+ Browse::show_objects();
break;
case 'catalog':
@@ -89,7 +89,8 @@ switch($_REQUEST['action']) {
Browse::set_sort('type','ASC');
Browse::set_filter('playlist_type','1');
$playlist_ids = Browse::get_objects();
- Browse::show_objects($playlist_ids);
+ Playlist::build_cache($playlist_ids);
+ Browse::show_objects();
break;
default: