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.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;