Bugzilla – Attachment 100437 Details for
Bug 17374
Make use of fields from syspref 'DefaultPatronSearchFields' in patron search fields dropdown
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17374: (follow-up) Remove spaces from include file
Bug-17374-follow-up-Remove-spaces-from-include-fil.patch (text/plain), 2.23 KB, created by
Jonathan Druart
on 2020-03-10 10:48:52 UTC
(
hide
)
Description:
Bug 17374: (follow-up) Remove spaces from include file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-10 10:48:52 UTC
Size:
2.23 KB
patch
obsolete
>From c73d265bdec7bf9b840dd63fa644e97194d186a5 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 24 Apr 2018 19:03:26 +0000 >Subject: [PATCH] Bug 17374: (follow-up) Remove spaces from include file > >Bug 17374: Fix another occurrence > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 2 +- > 2 files changed, 2 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 68a894f0b0..6142cd53a5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -28,7 +28,7 @@ > [% search_options = default_fields.merge(pref_fields).unique %] > [% FOREACH s_o IN search_options %] > [% display_name = PROCESS patron_fields name=s_o %] >- [% NEXT IF display_name.length == 5 %] >+ [% NEXT IF !display_name.length %] > [% IF searchfieldstype == s_o %] > <option selected="selected" value=[% s_o | html %]>[% display_name | $raw %]</option> > [% ELSE %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index 37c5f5fd46..209932b7a6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -133,7 +133,7 @@ > [% search_options = default_fields.merge(pref_fields).unique %] > [% FOREACH s_o IN search_options %] > [% display_name = PROCESS patron_fields name=s_o %] >- [% NEXT IF display_name.length == 5 %] >+ [% NEXT IF !display_name %] > [% IF searchfieldstype == s_o %] > <option selected="selected" value=[% s_o | html %]>[% display_name | $raw %]</option> > [% ELSE %] >-- >2.20.1
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 17374
:
56921
|
56931
|
56958
|
58239
|
66400
|
70226
|
71536
|
71597
|
71598
|
71599
|
71600
|
74828
|
93226
|
94831
|
94876
|
94890
|
94891
|
94892
|
96341
|
96342
|
96343
|
96679
|
98106
|
98478
|
100436
| 100437 |
100438
|
100439