summaryrefslogtreecommitdiffstats
path: root/artists.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-12 02:52:50 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-12 02:52:50 +0000
commit693e26e2ad074f8cc9d37098a0568cd93ae30f52 (patch)
tree8588523335a337d0971df768da0456e325bb6b66 /artists.php
parent003619c52c0370f03b9edb466addaaebac13ce41 (diff)
downloadampache-693e26e2ad074f8cc9d37098a0568cd93ae30f52.tar.gz
ampache-693e26e2ad074f8cc9d37098a0568cd93ae30f52.tar.bz2
ampache-693e26e2ad074f8cc9d37098a0568cd93ae30f52.zip
commit of the patches from codeoverload to implement tagging, will not work without manual modification of database, yes.. this commit breaks things cope
Diffstat (limited to 'artists.php')
-rw-r--r--artists.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/artists.php b/artists.php
index 31ea4a13..7f53ab90 100644
--- a/artists.php
+++ b/artists.php
@@ -37,11 +37,14 @@ switch($_REQUEST['action']) {
$artist = new Artist($_REQUEST['artist']);
$artist->format();
require_once Config::get('prefix') . '/templates/show_artist_box.inc.php';
- $song_ids = $artist->get_songs();
+ //$song_ids = $artist->get_songs();
Browse::set_type('song');
- Browse::set_static_content(1);
- Browse::save_objects($song_ids);
- Browse::show_objects($song_ids);
+ Browse::reset_filters();
+ //Browse::set_filter('artist', $artist->id);
+ Browse::set_filter_from_request($_REQUEST);
+ //Browse::set_static_content(1);
+ Browse::get_objects();
+ Browse::show_objects();
break;
case 'update_from_tags':