Fix unwanted case sensitivity as noted in #9

fixes: #9
This commit is contained in:
Felisp 2024-07-28 18:39:32 +02:00
parent 66b2b445df
commit 98a58ca1c3

View file

@ -63,7 +63,7 @@
;; Would be so much easier for user to figure out why is it showing ;; Would be so much easier for user to figure out why is it showing
;; and it would solve the problem of super long titles (or OPs instead of titles) ;; and it would solve the problem of super long titles (or OPs instead of titles)
(when (some (fn [querry] (when (some (fn [querry]
(s/includes? title querry)) (s/includes? (s/lower-case title) (s/lower-case querry)))
query-vec) query-vec)
t))) t)))
(reverse needed-cache-part))] (reverse needed-cache-part))]