diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-23 04:03:56 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-24 15:32:08 +0100 |
commit | b6a34d013bd81c336312c09f55c417da1163b3f1 (patch) | |
tree | 1dac912cb8085693bed40f61208590404dd623cc /web/template/pkg_search_form.php | |
parent | 044393c44b64e822445a4193214d8aec17ef7a48 (diff) | |
download | aur-b6a34d013bd81c336312c09f55c417da1163b3f1.tar.gz aur-b6a34d013bd81c336312c09f55c417da1163b3f1.tar.xz |
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.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 896d47f7..e570dfbc 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): ?> |