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 +++++++++++++++++++++++++++++++++++++++--- org/out_xmls.org | 15 +- 2 files changed, 458 insertions(+), 36 deletions(-) (limited to '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 - - - + + +