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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user