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

packages.php: Fix explicit sorting when search keywords aren't specified.



Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
parent a298948d
......@@ -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';
}
......
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