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>
This commit is contained in:
Dan McGee 2011-03-22 22:03:56 -05:00 committed by Lukas Fleischer
parent 044393c44b
commit b6a34d013b
2 changed files with 7 additions and 7 deletions

View file

@ -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):
?>