diff options
author | Loui Chang <louipc.ist@gmail.com> | 2010-03-13 06:03:00 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2010-03-13 06:03:00 +0100 |
commit | d53901eecd1472d5519391f9d280e5c7cec75a40 (patch) | |
tree | 6f3c6a2dc1a7ba84b3331b686b9b5521afcf03ce /web/html | |
parent | a298948d926aa0ae1459ee9db8ca8bb938f2dc97 (diff) | |
download | aur-d53901eecd1472d5519391f9d280e5c7cec75a40.tar.gz aur-d53901eecd1472d5519391f9d280e5c7cec75a40.tar.xz |
packages.php: Fix explicit sorting when search keywords aren't specified.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/html')
-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 cf241cb2..2553590c 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['K'])) { + if (!isset($_GET['K']) && !isset($_GET['SB'])) { $_GET['SB'] = 'v'; $_GET['SO'] = 'd'; } |