Bug 20214: (bug 18403 follow-up) Fix patron search: remove newline breaking JSON
authorVictor Grousset <victor.grousset@biblibre.com>
Thu, 15 Feb 2018 15:06:03 +0000 (16:06 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Feb 2018 15:44:29 +0000 (12:44 -0300)
== 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 <oleonard@myacpl.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc

index 355ef1b..0b72956 100644 (file)
@@ -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   = '' %]