Fix: sort by id statt created (autodate-Felder fehlen in Collection)

This commit is contained in:
rene 2026-05-17 14:20:03 +02:00
parent 808523a890
commit 708744b724
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;