Reduce page size in contacts pages

This commit is contained in:
Hypolite Petovan 2020-08-07 21:18:25 -04:00
parent e64dcc5b5b
commit e57449ee35
3 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ class Contacts extends Module\BaseProfile
$total = DBA::count('contact', $condition);
$pager = new Pager(DI::l10n(), DI::args()->getQueryString());
$pager = new Pager(DI::l10n(), DI::args()->getQueryString(), 30);
$params = ['order' => ['name' => false], 'limit' => [$pager->getStart(), $pager->getItemsPerPage()]];