diff options
author | Loui Chang <louipc.ist@gmail.com> | 2010-03-12 16:47:48 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2010-03-12 16:47:48 -0500 |
commit | b6e012ea3bf5ab6c96048d5534f156e57ccfb6e8 (patch) | |
tree | 8b11b9d65ca1d1f6034f73d84906b44f2f78dfbc /web/html/packages.php | |
parent | 5091b11dad08ee7039dd62aa35d9b10b29f068a8 (diff) | |
download | aurweb-b6e012ea3bf5ab6c96048d5534f156e57ccfb6e8.tar.xz |
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>
Diffstat (limited to 'web/html/packages.php')
-rw-r--r-- | web/html/packages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/packages.php b/web/html/packages.php index 7444731..cf241cb 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -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'; } |