summaryrefslogtreecommitdiffstats
path: root/lib/class/browse.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-26 09:38:39 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-26 09:38:39 +0000
commita8b553d73ff51e5441d21b3b57dcb2bb85a5a991 (patch)
treec9dd7baf5a91fca8c2721b0a34cac448224ace4c /lib/class/browse.class.php
parenta919e9b280ca1a3bce47177e6422f380e8af002a (diff)
downloadampache-a8b553d73ff51e5441d21b3b57dcb2bb85a5a991.tar.gz
ampache-a8b553d73ff51e5441d21b3b57dcb2bb85a5a991.tar.bz2
ampache-a8b553d73ff51e5441d21b3b57dcb2bb85a5a991.zip
fixed rating caching
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r--lib/class/browse.class.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php
index 663761fd..932b4064 100644
--- a/lib/class/browse.class.php
+++ b/lib/class/browse.class.php
@@ -825,19 +825,16 @@ class Browse {
switch ($_SESSION['browse']['type']) {
case 'song':
show_box_top(_('Songs') . $match, $class);
+ Song::build_cache($object_ids);
require_once Config::get('prefix') . '/templates/show_songs.inc.php';
show_box_bottom();
break;
case 'album':
show_box_top(_('Albums') . $match, $class);
+ Album::build_cache($object_ids);
require_once Config::get('prefix') . '/templates/show_albums.inc.php';
show_box_bottom();
break;
- case 'genre':
- show_box_top(_('Genres') . $match, $class);
- require_once Config::get('prefix') . '/templates/show_genres.inc.php';
- show_box_bottom();
- break;
case 'user':
show_box_top(_('Manage Users') . $match, $class);
require_once Config::get('prefix') . '/templates/show_users.inc.php';
@@ -845,6 +842,7 @@ class Browse {
break;
case 'artist':
show_box_top(_('Artists') . $match, $class);
+ Artist::build_cache($object_ids);
require_once Config::get('prefix') . '/templates/show_artists.inc.php';
show_box_bottom();
break;