From 1307b7663f5a5b57038b8f55eae2b52bfc0759ad 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 --- 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 875bf71e2b..5ad791e5f3 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -161,6 +161,10 @@ [% FOREACH QUERY_INPUT IN QUERY_INPUTS %] [% END %] + + + + [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %] [% END %] -- 2.30.2