enhance: page name index sync normalization; e2e alias diacritic test

This commit is contained in:
Junyi Du
2022-01-19 01:34:28 +08:00
committed by Tienson Qin
parent 226541ff5e
commit 694dfe52ec
5 changed files with 51 additions and 41 deletions

View File

@@ -97,8 +97,8 @@
search-mode (state/sub :search/mode)
new-page (if (or
(and (seq pages)
(= (util/safe-search-normalize search-q)
(util/safe-search-normalize (:data (first pages)))))
(= (util/page-name-sanity-lc search-q)
(util/page-name-sanity-lc (:data (first pages)))))
(nil? result)
all?)
[]