summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-21 04:51:23 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-21 04:51:23 +0000
commit553d5a8c4a2a510f95e3ffb014ed982729d0f69d (patch)
tree74606905707136d730f477ac4b98c4b18c7d0532 /templates
parentfcd6756369cc7b557a5db5a9566661109430bb8c (diff)
downloadampache-553d5a8c4a2a510f95e3ffb014ed982729d0f69d.tar.gz
ampache-553d5a8c4a2a510f95e3ffb014ed982729d0f69d.tar.bz2
ampache-553d5a8c4a2a510f95e3ffb014ed982729d0f69d.zip
fix sorting on playlist browse
Diffstat (limited to 'templates')
-rw-r--r--templates/show_playlists.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/show_playlists.inc.php b/templates/show_playlists.inc.php
index 3cfa81bd..c8ef5bc7 100644
--- a/templates/show_playlists.inc.php
+++ b/templates/show_playlists.inc.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2007 Ampache.org
+ Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -32,10 +32,10 @@
</colgroup>
<tr class="th-top">
<th class="cel_add"><?php echo _('Add'); ?></th>
- <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Playlist Name'),'playlist_sort_name'); ?></th>
+ <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&type=playlist&sort=name',_('Playlist Name'),'playlist_sort_name'); ?></th>
<th class="cel_type">&nbsp;</th>
<th class="cel_songs"><?php echo _('# Songs'); ?></th>
- <th class="cel_owner"><?php echo Ajax::text('?page=browse&action=set_sort&sort=user',_('Owner'),'playlist_sort_owner'); ?></th>
+ <th class="cel_owner"><?php echo Ajax::text('?page=browse&action=set_sort&type=playlist&sort=user',_('Owner'),'playlist_sort_owner'); ?></th>
<th class="cel_action"><?php echo _('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 _('Add'); ?></th>
- <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Playlist Name'),'playlist_sort_name_bottom'); ?></th>
+ <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&type=playlist&sort=name',_('Playlist Name'),'playlist_sort_name_bottom'); ?></th>
<th class="cel_type">&nbsp;</th>
<th class="cel_songs"><?php echo _('# Songs'); ?></th>
- <th class="cel_owner"><?php echo Ajax::text('?page=browse&action=set_sort&sort=user',_('Owner'),'playlist_sort_owner_bottom'); ?></th>
+ <th class="cel_owner"><?php echo Ajax::text('?page=browse&action=set_sort&type=playlist&sort=user',_('Owner'),'playlist_sort_owner_bottom'); ?></th>
<th class="cel_action"><?php echo _('Actions'); ?></th>
</tr>
</table>