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 --- src/doc_reform/io_out/cgi_sqlite_search_form.d | 457 +++++++++++++++++++++++-- src/doc_reform/io_out/xmls.d | 15 +- 2 files changed, 439 insertions(+), 33 deletions(-) (limited to 'src/doc_reform') diff --git a/src/doc_reform/io_out/cgi_sqlite_search_form.d b/src/doc_reform/io_out/cgi_sqlite_search_form.d index a694042..155a544 100644 --- a/src/doc_reform/io_out/cgi_sqlite_search_form.d +++ b/src/doc_reform/io_out/cgi_sqlite_search_form.d @@ -182,6 +182,8 @@ void cgi_function_intro(Cgi cgi) { 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"]; @@ -474,13 +476,13 @@ void cgi_function_intro(Cgi cgi) { - + ≅ SiSU spine search form - - - + + +