Bugzilla – Attachment 30113 Details for
Bug 10155
Patron search should remember search options selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 10155: Patron search should remember search type options selected
PASSED-QA-Bug-10155-Patron-search-should-remember-.patch (text/plain), 1.73 KB, created by
Kyle M Hall
on 2014-07-25 14:14:50 UTC
(
hide
)
Description:
[PASSED QA] Bug 10155: Patron search should remember search type options selected
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2014-07-25 14:14:50 UTC
Size:
1.73 KB
patch
obsolete
>From 52d8b88c6820fa021d5a7252653b190981e2f158 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 15 Jul 2014 10:28:14 +0200 >Subject: [PATCH] [PASSED QA] Bug 10155: Patron search should remember search type options selected > >The search type reset to the default. > >Test plan: >1/ go on the patrons home page >2/ Launch a search in the header and select the second value for "search >type" ("contains"). >3/ Verify the search type is set to "contains" on the results page. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works as described. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/includes/patron-search.inc | 9 +++++++-- > 1 files changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index a1f400c..47cd2ad 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -75,8 +75,13 @@ > > <label for="searchtype">Search type:</label> > <select name="searchtype" id="searchtype"> >- <option selected="selected" value='start_with'>Starts with</option> >- <option value='contain'>Contains</option> >+ [% IF searchtype != 'start_with' %] >+ <option value='start_with'>Starts with</option> >+ <option selected="selected" value='contain'>Contains</option> >+ [% ELSE %] >+ <option selected="selected" value='start_with'>Starts with</option> >+ <option value='contain'>Contains</option> >+ [% END %] > </select> > > <input value="Search" class="submit" type="submit" /> >-- >1.7.2.5
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 10155
:
29696
|
29895
| 30113