mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:10:11 +00:00
Fix the erratic page update behaviour
This commit is contained in:
parent
aa6eb7fcf1
commit
e038890bb7
9 changed files with 107 additions and 49 deletions
|
@ -126,13 +126,13 @@ class Community extends Timeline
|
|||
return $o;
|
||||
}
|
||||
|
||||
$o .= $this->conversation->render($items, Conversation::MODE_COMMUNITY, false, false, 'commented', $this->session->getLocalUserId());
|
||||
$o .= $this->conversation->render($items, Conversation::MODE_COMMUNITY, false, false, 'received', $this->session->getLocalUserId());
|
||||
|
||||
$pager = new BoundariesPager(
|
||||
$this->l10n,
|
||||
$this->args->getQueryString(),
|
||||
$items[0]['commented'],
|
||||
$items[count($items) - 1]['commented'],
|
||||
$items[0]['received'],
|
||||
$items[count($items) - 1]['received'],
|
||||
$this->itemsPerPage
|
||||
);
|
||||
|
||||
|
@ -196,6 +196,7 @@ class Community extends Timeline
|
|||
}
|
||||
}
|
||||
|
||||
$this->maxId = $request['last_commented'] ?? $this->maxId;
|
||||
$this->maxId = $request['last_received'] ?? $this->maxId;
|
||||
$this->minId = $request['first_received'] ?? $this->minId;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue