From ebccf7424efdc9378077d3d1b1f0ec6c9f9b80a1 Mon Sep 17 00:00:00 2001 From: Victor Grousset Date: Thu, 15 Feb 2018 16:06:03 +0100 Subject: [PATCH] Bug 20214: (bug 18403 follow-up) Fix patron search: remove newline breaking JSON == Test plan == 1. go/cgi-bin/koha/members/members-home.pl 2. search "a" 3. result never display 4. apply patch 5. search "a" 3. result display Signed-off-by: Owen Leonard Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc index 355ef1b6de..0b729562e2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc @@ -27,7 +27,7 @@ [%- SET data.title = title -%] [%- END -%] [%# Parameter no_html - if 1, the html tags are NOT generated %] -[% IF data.title %] +[%- IF data.title %] [%- IF no_html %] [%- span_start = '' %] [%- span_end = '' %] -- 2.39.5