summaryrefslogtreecommitdiff
path: root/web/template/pkg_search_form.php
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-22 22:03:56 -0500
committerLukas Fleischer <archlinux@cryptocrack.de>2011-03-24 15:32:08 +0100
commitb6a34d013bd81c336312c09f55c417da1163b3f1 (patch)
tree1dac912cb8085693bed40f61208590404dd623cc /web/template/pkg_search_form.php
parent044393c44b64e822445a4193214d8aec17ef7a48 (diff)
Bump up default per-page value to 50
25 is woefully small for the number of packages many searches can return, and with 28000+ packages in AUR, it makes sense to show a lot more per page by default. The new choices of (50, 100, 250) happen to match those from the main site. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_search_form.php')
-rw-r--r--web/template/pkg_search_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php
index 896d47f..e570dfb 100644
--- a/web/template/pkg_search_form.php
+++ b/web/template/pkg_search_form.php
@@ -89,7 +89,7 @@
<label><?php print __("Per page"); ?></label>
<select name='PP'>
<?php
- $pages = array(25, 50, 75, 100);
+ $pages = array(50, 100, 250);
foreach ($pages as $i):
if (isset($_REQUEST['PP']) && $_REQUEST['PP'] == $i):
?>