From 7e0749d4f0e8d35ece1499c5775f5277a5ae9e83 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 24 Apr 2018 19:03:26 +0000 Subject: [PATCH] Bug 17374: (follow-up) Remove spaces from include file Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- 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 %] [% 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 %] [% ELSE %] -- 2.39.5