Bugzilla – Attachment 150469 Details for
Bug 33445
Regression - Replacing authority via Z39.50 will not search for anything but the value from the existing authority
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33445: (follow-up) Allow all search fields to be passed through and returned when trying another search
Bug-33445-follow-up-Allow-all-search-fields-to-be-.patch (text/plain), 5.56 KB, created by
Nick Clemens (kidclamp)
on 2023-05-01 19:09:49 UTC
(
hide
)
Description:
Bug 33445: (follow-up) Allow all search fields to be passed through and returned when trying another search
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-05-01 19:09:49 UTC
Size:
5.56 KB
patch
obsolete
>From 53a06fc20ec98ec28a5fb6ec0119a65f560389f1 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 1 May 2023 18:38:30 +0000 >Subject: [PATCH] Bug 33445: (follow-up) Allow all search fields to be passed > through and returned when trying another search > >It seems the form didn't populate all fields form data passed in. This patch >corrects that >--- > .../en/modules/cataloguing/z3950_auth_search.tt | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt >index 007e411057..ef7693e066 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt >@@ -1,4 +1,4 @@ >-[% USE raw %] >+nt[% USE raw %] > [% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >@@ -25,10 +25,10 @@ > <div class="col-xs-6"> > <fieldset class="rows"> > <ol> >- <li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li> >- <li><label for="controlnumber">Control number: </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li> >- <li><label for="nameany">Name (any): </label> <input type="text" id="nameany" name="nameany" value="" /></li> >- <li><label for="authorany">Author (any): </label> <input type="text" id="authorany" name="authorany" value="" /></li> >+ <li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="[% srchany | html %]" /></li> >+ <li><label for="controlnumber">Control number: </label> <input type="text" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" /></li> >+ <li><label for="nameany">Name (any): </label> <input type="text" id="nameany" name="nameany" value="[% nameany | html %]" /></li> >+ <li><label for="authorany">Author (any): </label> <input type="text" id="authorany" name="authorany" value="[% authorany | html %]" /></li> > <li><label for="authorpersonal">Author (personal): </label> <input type="text" id="authorpersonal" name="authorpersonal" value="[% authorpersonal | html %]" /></li> > <li><label for="authorcorp">Author (corporate): </label> <input type="text" id="authorcorp" name="authorcorp" value="[% authorcorp | html %]" /></li> > <li><label for="authormeetingcon">Author (meeting / conference): </label> <input type="text" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon | html %]" /></li> >@@ -40,7 +40,7 @@ > <fieldset class="rows"> > <ol> > <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="[% subject | html %]" /></li> >- <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="" /></li> >+ <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv | html %]" /></li> > <li><label for="title">Title (any): </label> <input type="text" id="title" name="title" value="[% title | html %]" /></li> > <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle" name="uniformtitle" value="[% uniformtitle | html %]" /></li> > <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li> >@@ -130,6 +130,7 @@ > <input type="hidden" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv | html %]" /> > <input type="hidden" id="heading" name="heading" value="[% heading | html %]" /> > <input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" /> >+ <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" /> > <input type="hidden" name="authid" value="[% authid | html %]" /> > > [% FOREACH server IN servers %] >@@ -159,6 +160,7 @@ > <input type="hidden" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv | html %]" /> > <input type="hidden" id="heading" name="heading" value="[% heading | html %]" /> > <input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" /> >+ <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" /> > <input type="hidden" name="authid" value="[% authid | html %]" /> > <input type="submit" class="btn btn-primary" value="Try another search" /> > </form> >@@ -188,6 +190,7 @@ > <input type="hidden" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv | html %]" /> > <input type="hidden" id="heading" name="heading" value="[% heading | html %]" /> > <input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" /> >+ <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" /> > <input type="hidden" name="authid" value="[% authid | html %]" /> > <input type="submit" class="btn btn-primary" value="Try another search" /> > </form> >-- >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 33445
:
149504
|
149624
|
150367
|
150368
|
150419
|
150466
|
150467
|
150468
|
150469
|
150470
|
150471
|
150472
|
150473
|
150474
|
150475
|
151125
|
151126
|
151127