diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-26 09:38:39 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-26 09:38:39 +0000 |
commit | a8b553d73ff51e5441d21b3b57dcb2bb85a5a991 (patch) | |
tree | c9dd7baf5a91fca8c2721b0a34cac448224ace4c /lib/class/browse.class.php | |
parent | a919e9b280ca1a3bce47177e6422f380e8af002a (diff) | |
download | ampache-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.php | 8 |
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; |