Prev/next page calls should not override the query order

This commit is contained in:
Fabio Manganiello 2025-03-31 22:21:34 +02:00
parent 94ca1ea193
commit ba0aedefd9
Signed by: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 1 additions and 4 deletions
frontend/src
components/filter
mixins

View file

@ -131,7 +131,7 @@
</p> </p>
<p class="help"> <p class="help">
Adjacent points will be at least this far apart. Adjacent points below this distance will be merged
</p> </p>
</label> </label>

View file

@ -32,8 +32,6 @@ export default {
...this.locationQuery, ...this.locationQuery,
minId: undefined, minId: undefined,
maxId: this.oldestPoint.id, maxId: this.oldestPoint.id,
// Previous page results should be retrieved in descending order
order: 'desc',
}) })
}, },
@ -46,7 +44,6 @@ export default {
...this.locationQuery, ...this.locationQuery,
minId: this.newestPoint.id, minId: this.newestPoint.id,
maxId: undefined, maxId: undefined,
order: 'asc',
}) })
}, },
}, },