summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-29 13:11:45 +0530
committerArun Isaac2022-06-29 13:39:34 +0530
commit5d710f0757b3dcef8f34ead9bba1d545f3cb0bba (patch)
tree9b3c11758ac8fd4a52c5982b44d9217b8803d82a
parentdc84fecb4799d4de041e0967ef29b19edcd017b6 (diff)
downloadtissue-5d710f0757b3dcef8f34ead9bba1d545f3cb0bba.tar.gz
tissue-5d710f0757b3dcef8f34ead9bba1d545f3cb0bba.tar.lz
tissue-5d710f0757b3dcef8f34ead9bba1d545f3cb0bba.zip
search: AND is:open filter with search query.
* tissue/search.scm (search-fold): AND is:open filter with search query.
-rw-r--r--tissue/search.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tissue/search.scm b/tissue/search.scm
index f51bb95..7134ab9 100644
--- a/tissue/search.scm
+++ b/tissue/search.scm
@@ -48,7 +48,7 @@ return."
(if (or (string-contains-ci search-query "type:")
(string-contains-ci search-query "is:"))
search-query
- (string-append "is:open " search-query)))
+ (string-append "is:open AND (" search-query ")")))
#:stemmer (make-stem "en")
#:prefixes '(("type" . "XT")
("title" . "S")