summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_search_form.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-11 18:48:36 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-11 19:15:44 +0200
commit15ee85b456a4dd227d3c59f67bdef87f24efc391 (patch)
tree4ac5dc78133e48ae834901e021c7eef36ad14a5f /web/template/pkg_search_form.php
parent824744f1d20614c25e972dda7a0b7ac9506dd46f (diff)
downloadaurweb-15ee85b456a4dd227d3c59f67bdef87f24efc391.tar.xz
Show package popularity in search results
Display the popularity score (weighted votes) in the package search results. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template/pkg_search_form.php')
-rw-r--r--web/template/pkg_search_form.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php
index 7428250..b4b88bd 100644
--- a/web/template/pkg_search_form.php
+++ b/web/template/pkg_search_form.php
@@ -21,6 +21,7 @@ $sortby = array(
'n' => __('Name'),
'c' => __('Category'),
'v' => __('Votes'),
+ 'p' => __('Popularity'),
'w' => __('Voted'),
'o' => __('Notify'),
'm' => __('Maintainer'),