diff options
author | Afterster <afterster@gmail.com> | 2013-10-29 00:01:39 +0100 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-10-30 19:26:53 -0400 |
commit | 2e4620adaab9e46d31b6156fc82e566708ff7b40 (patch) | |
tree | 97c95142bebddc42288d78ff9f0a8ada32ec0b94 /templates/show_live_streams.inc.php | |
parent | 8a8e89d22085ea2cf19648c430975072e6697e31 (diff) | |
download | ampache-2e4620adaab9e46d31b6156fc82e566708ff7b40.tar.gz ampache-2e4620adaab9e46d31b6156fc82e566708ff7b40.tar.bz2 ampache-2e4620adaab9e46d31b6156fc82e566708ff7b40.zip |
Fix sort when browsing (#50)
Diffstat (limited to 'templates/show_live_streams.inc.php')
-rw-r--r-- | templates/show_live_streams.inc.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/show_live_streams.inc.php b/templates/show_live_streams.inc.php index 1cc782f0..6ccd52d7 100644 --- a/templates/show_live_streams.inc.php +++ b/templates/show_live_streams.inc.php @@ -35,9 +35,9 @@ $web_path = Config::get('web_path'); </colgroup> <tr class="th-top"> <th class="cel_add"><?php echo T_('Add'); ?></th> - <th class="cel_streamname"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name', T_('Name'),'live_stream_sort_name'); ?></th> - <th class="cel_callsign"><?php echo Ajax::text('?page=browse&action=set_sort&sort=call_sign', T_('Callsign'),'live_stream_call_sign'); ?></th> - <th class="cel_frequency"><?php echo Ajax::text('?page=browse&action=set_sort&sort=frequency', T_('Frequency'),'live_stream_frequency'); ?></th> + <th class="cel_streamname"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=name', T_('Name'),'live_stream_sort_name'); ?></th> + <th class="cel_callsign"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=call_sign', T_('Callsign'),'live_stream_call_sign'); ?></th> + <th class="cel_frequency"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=frequency', T_('Frequency'),'live_stream_frequency'); ?></th> <th class="cel_genre"><?php echo T_('Tag'); ?></th> <th class="cel_action"><?php echo T_('Action'); ?> </th> </tr> @@ -57,9 +57,9 @@ foreach ($object_ids as $radio_id) { <?php } ?> <tr class="th-bottom"> <th class="cel_add"><?php echo T_('Add'); ?></th> - <th class="cel_streamname"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name', T_('Name'),'live_stream_sort_name_bottom'); ?></th> - <th class="cel_callsign"><?php echo Ajax::text('?page=browse&action=set_sort&sort=call_sign', T_('Callsign'),'live_stream_call_sign_bottom'); ?></th> - <th class="cel_frequency"><?php echo Ajax::text('?page=browse&action=set_sort&sort=frequency', T_('Frequency'),'live_stream_frequency_bottom'); ?></th> + <th class="cel_streamname"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=name', T_('Name'),'live_stream_sort_name_bottom'); ?></th> + <th class="cel_callsign"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=call_sign', T_('Callsign'),'live_stream_call_sign_bottom'); ?></th> + <th class="cel_frequency"><?php echo Ajax::text('?page=browse&action=set_sort&browse_id=' . $browse->id . '&sort=frequency', T_('Frequency'),'live_stream_frequency_bottom'); ?></th> <th class="cel_genre"><?php echo T_('Tag'); ?></th> <th class="cel_action"><?php echo T_('Action'); ?> </th> </tr> |