diff --git a/src/main/frontend/components/editor.cljs b/src/main/frontend/components/editor.cljs index ccb612faa5..dfeaa73bf2 100644 --- a/src/main/frontend/components/editor.cljs +++ b/src/main/frontend/components/editor.cljs @@ -142,7 +142,7 @@ (when-not (string/blank? q) (p/let [result (if db-tag? (editor-handler/get-matched-classes q) - (editor-handler/ (concat matched-dates matched) + nodes)] + (-> (concat matched + (when nlp-pages? + (map (fn [title] {:block/title title :nlp-date? true}) + date/nlp-pages))) (search/fuzzy-search q {:extract-fn :block/title :limit 50})))) (defn