removed unnecessery logs filter normalization breaking the pagination

This commit is contained in:
Gani Georgiev
2026-05-04 09:33:47 +03:00
parent d153553d52
commit d33927718b
3 changed files with 2 additions and 5 deletions
-3
View File
@@ -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, {