summaryrefslogtreecommitdiffstats
path: root/templates/show_artists.inc.php
diff options
context:
space:
mode:
authorAfterster <afterster@gmail.com>2013-10-29 00:01:39 +0100
committerPaul Arthur <paul.arthur@flowerysong.com>2013-10-30 19:26:53 -0400
commit2e4620adaab9e46d31b6156fc82e566708ff7b40 (patch)
tree97c95142bebddc42288d78ff9f0a8ada32ec0b94 /templates/show_artists.inc.php
parent8a8e89d22085ea2cf19648c430975072e6697e31 (diff)
downloadampache-2e4620adaab9e46d31b6156fc82e566708ff7b40.tar.gz
ampache-2e4620adaab9e46d31b6156fc82e566708ff7b40.tar.bz2
ampache-2e4620adaab9e46d31b6156fc82e566708ff7b40.zip
Fix sort when browsing (#50)
Diffstat (limited to 'templates/show_artists.inc.php')
-rw-r--r--templates/show_artists.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php
index 0a3b664b..6dd1304a 100644
--- a/templates/show_artists.inc.php
+++ b/templates/show_artists.inc.php
@@ -38,7 +38,7 @@ $web_path = Config::get('web_path');
</colgroup>
<tr class="th-top">
<th class="cel_add"><?php echo T_('Add'); ?></th>
- <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&type=artist&sort=name', T_('Artist'),'artist_sort_name'); ?></th>
+ <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=artist&sort=name', T_('Artist'),'artist_sort_name'); ?></th>
<th class="cel_songs"><?php echo T_('Songs'); ?></th>
<th class="cel_albums"><?php echo T_('Albums'); ?></th>
<th class="cel_time"><?php echo T_('Time'); ?></th>
@@ -66,7 +66,7 @@ foreach ($object_ids as $artist_id) {
<?php } ?>
<tr class="th-bottom">
<th class="cel_add"><?php echo T_('Add'); ?></th>
- <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&type=artist&sort=name', T_('Artist'),'artist_sort_name_bottom'); ?></th>
+ <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&type=artist&browse_id=' . $browse->id . '&sort=name', T_('Artist'),'artist_sort_name_bottom'); ?></th>
<th class="cel_songs"> <?php echo T_('Songs'); ?> </th>
<th class="cel_albums"> <?php echo T_('Albums'); ?> </th>
<th class="cel_time"> <?php echo T_('Time'); ?> </th>