Bugzilla – Attachment 158581 Details for
Bug 34021
Add option to search within results in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34021: Make search within OPAC consistent with staff interface
Bug-34021-Make-search-within-OPAC-consistent-with-.patch (text/plain), 2.08 KB, created by
Lucas Gass
on 2023-11-06 23:21:52 UTC
(
hide
)
Description:
Bug 34021: Make search within OPAC consistent with staff interface
Filename:
MIME Type:
Creator:
Lucas Gass
Created:
2023-11-06 23:21:52 UTC
Size:
2.08 KB
patch
obsolete
>From 572bc550c2aa0a24bac0adf6a326c75e214fd0d0 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Wed, 1 Nov 2023 05:40:03 +0000 >Subject: [PATCH] Bug 34021: Make search within OPAC consistent with staff > interface > >Test plan: > >0. Apply the patch >1. Go to http://localhost:8080/cgi-bin/koha/opac-main.pl >2. Type "an:104" in the search box and click the search button >3. Type "Alcestis" into the "Search within results" box and >click the Search button next to the box >4. Note that now there are only 2 results >5. Type "Dale" into the "Search within results" box and >click the Search button next to the box >6. Note that you're taken directly to the last result > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >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 aad311dba6d..ee5ac22a6b2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -161,9 +161,8 @@ > <input type="hidden" name="[% QUERY_INPUT.input_name | html %]" value="[% QUERY_INPUT.input_value | html %]"/> > [% END %] > <div id="search_within_block"> >- <input type="hidden" name="idx" value="kw" /> > <label id="search_within_label" for="search_within_text">Search within results</label> >- <input id="search_within_text" type="text" name="q" value="" /> >+ <input id="search_within_text" type="text" name="limit" value="" /> > <button type="submit" id="search_within_submit" class="btn btn-primary">Search</button> > </div> > [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34021
:
153693
|
153729
|
155872
|
158137
|
158138
|
158166
|
158579
|
158580
| 158581