mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Implement correct behavior for min_id in boundary pagination
- The previous behavior of since_id systematically showed the most recent results
This commit is contained in:
parent
e0a6b90316
commit
4427876c05
10 changed files with 101 additions and 59 deletions
|
@ -536,7 +536,7 @@ function updateConvItems(data) {
|
|||
if ($('#' + ident).length === 0
|
||||
&& (!getUrlParameter('page')
|
||||
&& !getUrlParameter('max_id')
|
||||
&& !getUrlParameter('since_id')
|
||||
&& !getUrlParameter('min_id')
|
||||
|| getUrlParameter('page') === '1'
|
||||
)
|
||||
) {
|
||||
|
@ -609,8 +609,8 @@ function liveUpdate(src) {
|
|||
if (getUrlParameter('page')) {
|
||||
update_url += '&page=' + getUrlParameter('page');
|
||||
}
|
||||
if (getUrlParameter('since_id')) {
|
||||
update_url += '&since_id=' + getUrlParameter('since_id');
|
||||
if (getUrlParameter('min_id')) {
|
||||
update_url += '&min_id=' + getUrlParameter('min_id');
|
||||
}
|
||||
if (getUrlParameter('max_id')) {
|
||||
update_url += '&max_id=' + getUrlParameter('max_id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue