mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add sorting by "Voted" and "Notify" fields
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
290c436046
commit
b18fb08ddc
3 changed files with 27 additions and 9 deletions
|
@ -56,7 +56,7 @@
|
|||
<label><?php print __("Sort by"); ?></label>
|
||||
<select name='SB'>
|
||||
<?php
|
||||
$sortby = array('n' => 'Name', 'c' => 'Category', 'l' => 'Location', 'v' => 'Votes', 'm' => 'Maintainer', 'a' => 'Age');
|
||||
$sortby = array('n' => 'Name', 'c' => 'Category', 'l' => 'Location', 'v' => 'Votes', 'w' => 'Voted', 'o' => 'Notify', 'm' => 'Maintainer', 'a' => 'Age');
|
||||
foreach ($sortby as $k => $v):
|
||||
if ($_REQUEST['SB'] == $k):
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue