mirror of
https://github.com/friendica/friendica
synced 2025-04-26 08:30:10 +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
|
@ -69,7 +69,7 @@ function notes_content(App $a, $update = false)
|
|||
$condition = ['uid' => local_user(), 'post-type' => Item::PT_PERSONAL_NOTE, 'gravity' => GRAVITY_PARENT,
|
||||
'contact-id'=> $a->contact['id']];
|
||||
|
||||
$pager = new Pager(DI::args()->getQueryString(), 40);
|
||||
$pager = new Pager(DI::l10n(), DI::args()->getQueryString(), 40);
|
||||
|
||||
$params = ['order' => ['created' => true],
|
||||
'limit' => [$pager->getStart(), $pager->getItemsPerPage()]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue