Fix: sort by id statt created (autodate-Felder fehlen in Collection)
This commit is contained in:
parent
808523a890
commit
708744b724
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
|||
const dateStr = today.toISOString().slice(0, 19).replace('T', ' ');
|
||||
|
||||
const result = await pb.collection('check_logs').getList(1, 50, {
|
||||
sort: '-created'
|
||||
sort: '-id'
|
||||
});
|
||||
|
||||
logs = result.items;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
const result = await pb.collection('check_logs').getList(p, PER_PAGE, {
|
||||
filter: `tenant = '${tenantId}'`,
|
||||
expand: 'station',
|
||||
sort: '-created'
|
||||
sort: '-id'
|
||||
});
|
||||
logs = result.items;
|
||||
page = p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue