From d53901eecd1472d5519391f9d280e5c7cec75a40 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Sat, 13 Mar 2010 00:03:00 -0500 Subject: packages.php: Fix explicit sorting when search keywords aren't specified. Signed-off-by: Loui Chang --- web/html/packages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/packages.php') 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'; } -- cgit v1.2.3-24-g4f1b