mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Add L10n parameter to Pager classes
This commit is contained in:
parent
682fb7e4e2
commit
561472b975
20 changed files with 53 additions and 52 deletions
|
@ -85,7 +85,7 @@ class Contacts extends BaseProfile
|
|||
|
||||
$total = DBA::count('contact', $condition);
|
||||
|
||||
$pager = new Pager(DI::args()->getQueryString());
|
||||
$pager = new Pager(DI::l10n(), DI::args()->getQueryString());
|
||||
|
||||
$params = ['order' => ['name' => false], 'limit' => [$pager->getStart(), $pager->getItemsPerPage()]];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue