commit b1089e9c4428e7f611b02433a52d08e636f5754c parent b807682949cf6ea1dd562fbaba958f2484873df6 Author: Natasha Kerensikova <natgh@instinctive.eu> Date: Tue, 15 Sep 2026 19:42:26 +0000 Search gruiks by notes Diffstat:
| M | src/cgi.scm | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/cgi.scm b/src/cgi.scm @@ -950,6 +950,17 @@ END-OF-CSS (div (@ (class "form-body")) (input (@ (type "text") (name "regexp") (placeholder "^reg.*exp$"))))) + (h2 "Notes") + (form (@ (method "GET") (action "notes")) + (div (@ (class "form-body")) + (input (@ (type "text") (name "glob") (placeholder "*glob*"))))) + (form (@ (method "GET") (action "notes")) + (div (@ (class "form-body")) + (input (@ (type "text") (name "like") (placeholder "%like%"))))) + (form (@ (method "GET") (action "notes")) + (div (@ (class "form-body")) + (input (@ (type "text") (name "regexp") + (placeholder "^reg.*exp$"))))) (h2 "URL") (form (@ (method "GET") (action "url")) (div (@ (class "form-body")) @@ -1359,6 +1370,7 @@ END-OF-CSS (result (lambda () (view-domain-search q (q-limit-offset lo)))))) (define route-search-field (sequence* ((fi (any-of (char-seq "description") + (char-seq "notes") (char-seq "url"))) (_ (is #\?)) (op (any-of (char-seq "glob")