Commit b6e012ea authored by Loui Chang's avatar Loui Chang
Browse files

packages.php: Only sort by vote if search keyword isn't set.

People entering explicit search terms would expect alphabetical order.

Signed-off-by: default avatarLoui Chang <>
parent 5091b11d
......@@ -70,7 +70,7 @@ if (isset($_GET['ID'])) {
package_details($_GET['ID'], $_COOKIE["AURSID"]);
} else {
if (!isset($_GET['SB'])) {
if (!isset($_GET['K'])) {
$_GET['SB'] = 'v';
$_GET['SO'] = 'd';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment