summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-12-15 11:15:43 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-12-15 11:15:43 -0500
commit9c1781f03d085e38dc6ee796c7aa97c995b53ce4 (patch)
treefaef2fb90a4f9a126cbf189eb1da251fe7ce755f
parentf5c1851bbb147bb25ec07f60a09196baf4880100 (diff)
downloadaurweb-9c1781f03d085e38dc6ee796c7aa97c995b53ce4.tar.xz
packages.php: Make default view sort packages by descending votes.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r--web/html/packages.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/html/packages.php b/web/html/packages.php
index b2c3f62..f882ce5 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -70,6 +70,8 @@ if (isset($_GET['ID'])) {
package_details($_GET['ID'], $_COOKIE["AURSID"]);
}
} else {
+ $_GET['SB'] = 'v';
+ $_GET['SO'] = 'd';
pkg_search_page($_COOKIE["AURSID"]);
}