Issue: removes undeeded param on prepend which could cause issues with home

This commit is contained in:
Mark Washeim 2023-01-25 10:47:16 +01:00
parent 7ee8b5a333
commit 2d714b22f0

View file

@ -343,11 +343,7 @@ SilicaListView {
}
}
if (mode === "prepend" && model.count) {
if ( linknext === "" ) {
p.push({name:'since_id', data: model.get(0).id})
} else {
p.push({name: 'min_id', data: linknext})
}
p.push({name:'since_id', data: model.get(0).id})
}
// to keep the number of params the same for all requests