summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-02 18:21:01 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-02 18:21:01 +0000
commitafb0aafbfeb386db64e74f6e6e0ef3d33daa2f7f (patch)
tree94eb3ae89707c495e1d6d1ed87f15fa8727a34d5
parentc026d0c7afdd829c7584b22944296a058b278f67 (diff)
downloadampache-afb0aafbfeb386db64e74f6e6e0ef3d33daa2f7f.tar.gz
ampache-afb0aafbfeb386db64e74f6e6e0ef3d33daa2f7f.tar.bz2
ampache-afb0aafbfeb386db64e74f6e6e0ef3d33daa2f7f.zip
Fixed show all songs multi-page showing incorrect data on page flip
-rw-r--r--artists.php2
-rw-r--r--templates/show_browse.inc.php21
2 files changed, 2 insertions, 21 deletions
diff --git a/artists.php b/artists.php
index 4ce7c6f5..b8d23b65 100644
--- a/artists.php
+++ b/artists.php
@@ -39,6 +39,8 @@ switch($_REQUEST['action']) {
require_once Config::get('prefix') . '/templates/show_artist_box.inc.php';
$song_ids = $artist->get_songs();
Browse::set_type('song');
+ Browse::set_static_content(1);
+ Browse::save_objects($song_ids);
Browse::show_objects($song_ids);
break;
case 'update_from_tags':
diff --git a/templates/show_browse.inc.php b/templates/show_browse.inc.php
deleted file mode 100644
index 531f903a..00000000
--- a/templates/show_browse.inc.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-/*
-
- Copyright (c) 2001 - 2007 Ampache.org
- All rights reserved.
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License v2
- as published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-*/
-