mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Update Pager->__construct calls for minimal use cases
This commit is contained in:
parent
7c0b591043
commit
74e80f137b
4 changed files with 4 additions and 4 deletions
|
@ -61,7 +61,7 @@ function notes_content(App $a, $update = false)
|
|||
$condition = ['uid' => local_user(), 'post-type' => Item::PT_PERSONAL_NOTE, 'gravity' => GRAVITY_PARENT,
|
||||
'wall' => false, 'contact-id'=> $a->contact['id']];
|
||||
|
||||
$pager = new Pager($a->query_string, null, 40);
|
||||
$pager = new Pager($a->query_string, 40);
|
||||
|
||||
$params = ['order' => ['created' => true],
|
||||
'limit' => [$pager->getStart(), $pager->getItemsPerPage()]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue