summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-12-15 17:15:43 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-12-15 17:15:43 +0100
commit9c1781f03d085e38dc6ee796c7aa97c995b53ce4 (patch)
treefaef2fb90a4f9a126cbf189eb1da251fe7ce755f /web/html
parentf5c1851bbb147bb25ec07f60a09196baf4880100 (diff)
downloadaur-9c1781f03d085e38dc6ee796c7aa97c995b53ce4.tar.gz
aur-9c1781f03d085e38dc6ee796c7aa97c995b53ce4.tar.xz
packages.php: Make default view sort packages by descending votes.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/html')
-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 b2c3f627..f882ce5f 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"]);
}