mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-13 01:28:16 +02:00
fixed logs search
This commit is contained in:
1 parent
0661de0604
commit
376627b4cc
31 files changed
+46
-37
No files matched your search
@@ -41,6 +41,7 @@
|
||||
|
||||
const normalizedFilter = [presets, CommonHelper.normalizeLogsFilter(filter)]
|
||||
.filter(Boolean)
|
||||
.map((f) => "(" + f + ")")
|
||||
.join("&&");
|
||||
|
||||
return ApiClient.logs
|
||||
|
||||
@@ -53,7 +53,10 @@
|
||||
.getList(page, perPage, {
|
||||
sort: sort,
|
||||
skipTotal: 1,
|
||||
filter: normalizedFilter.filter(Boolean).join("&&"),
|
||||
filter: normalizedFilter
|
||||
.filter(Boolean)
|
||||
.map((f) => "(" + f + ")")
|
||||
.join("&&"),
|
||||
})
|
||||
.then(async (result) => {
|
||||
if (page <= 1) {
|
||||
|
||||
Reference in new issue
Block a user