From e4e463e9768736ce82e3de9a34e1f81bf5389b4e Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 20 Jul 2023 00:40:39 +0000 Subject: [PATCH] Bug 34021: Add 'search within' to OPAC This change adds a "Search within results" box to the OPAC, which complements the feature already in the staff interface. Test plan: 0. Apply the patch 1. Go to http://localhost:8080/cgi-bin/koha/opac-main.pl 2. Type "e" in the search box and click the search button 3. Click the "Books" value for the "Item types" facet, and note there are fewer search results 4. Type "test" into the "Search within results" box and click the Search button next to the box 5. Note that now there are only 2 results. 6. Also note that the "Books" facet is still selected Signed-off-by: Sam Lau Signed-off-by: Katrin Fischer Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 702a6a60fc0..b39a77430e7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -160,6 +160,10 @@ [% FOREACH QUERY_INPUT IN QUERY_INPUTS %] [% END %] + + + + [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %] [% END %] -- 2.30.2