From a84fcfe1b2f8b9e37cf5ef54cda6c90c14dcda74 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 12 May 2019 00:34:03 +0200 Subject: [PATCH] Bug 22886: Missing space between fields from Keyword to MARC mapping in cataloguing search If you have multiple subfields mapped to the 'subtitle' keyword, those fields will show up without separating space. To test: - Add 3 subtitle entries in Keyword to MARC mapping for a framework - 245 b - 245 c - 245 h - Edit a record, make sure the framework matches, add: - 245 b, c, h - Search for it in cataloguing search (not catalog!) - Verify the subtitle fields show, but are all concatenated - Apply patch - Search again and verify the display is improved with a separating space Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens (cherry picked from commit f00d909220ebde5162335e255e4ba938a9563bff) Signed-off-by: Martin Renvoize Conflicts: koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt Signed-off-by: Liz Rea --- .../intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index 8bace55edb..3425304ff5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -75,8 +75,8 @@

- [% resultsloo.title |html %] - [% FOREACH subtitl IN resultsloo.subtitle %][% subtitl.subfield %][% END %]

+ [% resultsloo.title | html %] + [% FOREACH subtitl IN resultsloo.subtitle %][% subtitl.subfield | html %] [% END %]

[% IF ( resultsloo.summary ) %]

[% resultsloo.summary %]

[% ELSE %] -- 2.39.5