Browse Source

fix(regression): search not working for

new tags or pages
Gabriel Horner 1 year ago
parent
commit
9645651ddf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/worker/search.cljs

+ 1 - 1
src/main/frontend/worker/search.cljs

@@ -420,7 +420,7 @@ DROP TRIGGER IF EXISTS blocks_au;
     (let [fuzzy-blocks-to-add (filter page-or-object? blocks-to-add)
           fuzzy-blocks-to-remove (filter page-or-object? blocks-to-remove)]
       (when (or (seq fuzzy-blocks-to-add) (seq fuzzy-blocks-to-remove))
-        (swap! fuzzy-search-indices update-in repo
+        (swap! fuzzy-search-indices update repo
                (fn [indice]
                  (when indice
                    (doseq [page-entity fuzzy-blocks-to-remove]