Fix some nasty bug

This commit is contained in:
Zef Hemel
2022-04-01 15:02:35 +02:00
parent 4d201efdbb
commit b858917c98
13 changed files with 115 additions and 37 deletions
+2 -2
View File
@@ -79,8 +79,8 @@ export async function updateMaterializedQueriesOnPage(pageName: string) {
for (let {
key,
page,
value: {item, children},
} of await syscall("index.scanPrefixGlobal", "it:")) {
value: { item, children },
}; of await syscall("index.scanPrefixGlobal", "it:")) {
let [, pos] = key.split(":");
if (!filter || (filter && item.includes(filter))) {
results.push(`* [[${page}@${pos}]] ${item}`);