mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
packages.php: Only sort by vote if search keyword isn't set.
People entering explicit search terms would expect alphabetical order. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
5091b11dad
commit
b6e012ea3b
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ if (isset($_GET['ID'])) {
|
||||||
package_details($_GET['ID'], $_COOKIE["AURSID"]);
|
package_details($_GET['ID'], $_COOKIE["AURSID"]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!isset($_GET['SB'])) {
|
if (!isset($_GET['K'])) {
|
||||||
$_GET['SB'] = 'v';
|
$_GET['SB'] = 'v';
|
||||||
$_GET['SO'] = 'd';
|
$_GET['SO'] = 'd';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue