mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-19 04:24:05 +02:00
removed unnecessery logs filter normalization breaking the pagination
This commit is contained in:
1 parent
d153553d52
commit
d33927718b
3 files changed
+2
-5
No files matched your search
@@ -41,9 +41,6 @@ export function logsList(logsSettings) {
|
||||
const max = app.utils.toRFC3339Datetime(maxDate);
|
||||
|
||||
normalizedFilter.push(`created >= "${min}" && created <= "${max}"`);
|
||||
} else if (page > 1) {
|
||||
// minimize duplicates in case there were new logs that push the old ones to later pages
|
||||
normalizedFilter.push(`created <= "${data.logs[data.logs.length - 1].created}"`);
|
||||
}
|
||||
|
||||
const result = await app.pb.logs.getList(page, perPage, {
|
||||
|
||||
Reference in new issue
Block a user