Bugzilla – Attachment 155872 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: wrap search within using block with an ID for styling
Bug-34021-wrap-search-within-using-block-with-an-I.patch (text/plain), 2.18 KB, created by
David Cook
on 2023-09-19 03:14:59 UTC
(
hide
)
Description:
Bug 34021: wrap search within using block with an ID for styling
Filename:
MIME Type:
Creator:
David Cook
Created:
2023-09-19 03:14:59 UTC
Size:
2.18 KB
patch
obsolete
>From 2813d90a295c1f9ab2ed4ea2e9fb099fb3d14c68 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 19 Sep 2023 03:14:03 +0000 >Subject: [PATCH] Bug 34021: wrap search within using block with an ID for > styling > >--- > .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 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 aa421c6224..d0632087e1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -161,10 +161,12 @@ > [% FOREACH QUERY_INPUT IN QUERY_INPUTS %] > <input type="hidden" name="[% QUERY_INPUT.input_name | html %]" value="[% QUERY_INPUT.input_value | html %]"/> > [% END %] >- <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="" /> >- <button type="submit" id="search_within_submit" class="btn btn-primary">Search</button> >+ <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="" /> >+ <button type="submit" id="search_within_submit" class="btn btn-primary">Search</button> >+ </div> > [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %] > <input type="hidden" name="[% LIMIT_INPUT.input_name | html %]" value="[% LIMIT_INPUT.input_value | html %]"/> > [% END %] >-- >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