summaryrefslogtreecommitdiffstats
path: root/templates/show_random.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_random.inc.php')
-rw-r--r--templates/show_random.inc.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/show_random.inc.php b/templates/show_random.inc.php
index e1a73b21..2e573566 100644
--- a/templates/show_random.inc.php
+++ b/templates/show_random.inc.php
@@ -101,10 +101,11 @@
<div id="browse">
<?php
if (is_array($object_ids)) {
- Browse::reset_filters();
- Browse::set_type('song');
- Browse::save_objects($object_ids);
- Browse::show_objects();
+ $browse = new Browse();
+ $browse->set_type('song');
+ $browse->save_objects($object_ids);
+ $browse->show_objects();
+ $browse->store();
echo Ajax::observe('window','load',Ajax::action('?action=refresh_rightbar','playlist_refresh_load'));
}
?>