summaryrefslogtreecommitdiffstats
path: root/web/html/packages.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/packages.php')
-rw-r--r--web/html/packages.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/html/packages.php b/web/html/packages.php
index f882ce5..7444731 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -70,8 +70,10 @@ if (isset($_GET['ID'])) {
package_details($_GET['ID'], $_COOKIE["AURSID"]);
}
} else {
- $_GET['SB'] = 'v';
- $_GET['SO'] = 'd';
+ if (!isset($_GET['SB'])) {
+ $_GET['SB'] = 'v';
+ $_GET['SO'] = 'd';
+ }
pkg_search_page($_COOKIE["AURSID"]);
}