summaryrefslogtreecommitdiffstats
path: root/templates/show_playlists.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_playlists.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_playlists.inc.php')
-rw-r--r--templates/show_playlists.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/show_playlists.inc.php b/templates/show_playlists.inc.php
index 64704b83..03fccfa7 100644
--- a/templates/show_playlists.inc.php
+++ b/templates/show_playlists.inc.php
@@ -32,10 +32,10 @@
</colgroup>
<tr class="th-top">
<th class="cel_add"><?php echo T_('Add'); ?></th>
- <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&type=playlist&sort=name', T_('Playlist Name'),'playlist_sort_name'); ?></th>
+ <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=playlist&sort=name', T_('Playlist Name'),'playlist_sort_name'); ?></th>
<th class="cel_type">&nbsp;</th>
<th class="cel_songs"><?php echo T_('# Songs'); ?></th>
- <th class="cel_owner"><?php echo Ajax::text('?page=browse&action=set_sort&type=playlist&sort=user', T_('Owner'),'playlist_sort_owner'); ?></th>
+ <th class="cel_owner"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=playlist&sort=user', T_('Owner'),'playlist_sort_owner'); ?></th>
<th class="cel_action"><?php echo T_('Actions'); ?></th>
</tr>
<?php
@@ -55,10 +55,10 @@ foreach ($object_ids as $playlist_id) {
<?php } ?>
<tr class="th-bottom">
<th class="cel_add"><?php echo T_('Add'); ?></th>
- <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&type=playlist&sort=name', T_('Playlist Name'),'playlist_sort_name_bottom'); ?></th>
+ <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=playlist&sort=name', T_('Playlist Name'),'playlist_sort_name_bottom'); ?></th>
<th class="cel_type">&nbsp;</th>
<th class="cel_songs"><?php echo T_('# Songs'); ?></th>
- <th class="cel_owner"><?php echo Ajax::text('?page=browse&action=set_sort&type=playlist&sort=user', T_('Owner'),'playlist_sort_owner_bottom'); ?></th>
+ <th class="cel_owner"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&type=playlist&sort=user', T_('Owner'),'playlist_sort_owner_bottom'); ?></th>
<th class="cel_action"><?php echo T_('Actions'); ?></th>
</tr>
</table>