From e0354c367e309248d7c2bf613750417ce915f9b9 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 31 Mar 2020 11:19:24 -0400 Subject: search, simplify & remove un-implemented features --- org/out_cgi_search_sqlite.org | 479 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 449 insertions(+), 30 deletions(-) (limited to 'org/out_cgi_search_sqlite.org') diff --git a/org/out_cgi_search_sqlite.org b/org/out_cgi_search_sqlite.org index d3f965d..be963cb 100644 --- a/org/out_cgi_search_sqlite.org +++ b/org/out_cgi_search_sqlite.org @@ -393,6 +393,8 @@ auto text_fields() { if (auto m = got.search_text_area.matchFirst(rgx.fn)) { got.fn = m["matched"]; got.canned_query ~= "&fn=" ~ m["matched"]; + } else if ("fn" in cgi.post) { + got.search_text_area ~= "\nfn: " ~ cgi.post["fn"] ~ "\n"; } if (auto m = got.search_text_area.matchFirst(rgx.keywords)) { got.keywords = m["matched"]; @@ -716,13 +718,13 @@ string previous_next () { - + ≅ SiSU spine search form - - - + + +