From f88afbcd16ecf0ac7a2982000c807a6092b130c1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 31 Mar 2020 14:20:23 +0000 Subject: [PATCH] Bug 25022: Display problem in authority editor with repeatable field Content-Type: text/plain; charset=utf-8 This patch corrects an error in the structure of the authority editor template so that repeating subfields do not generate invalid markup. The correction was found by comparing with addbiblio.tt. If you are viewing the diff, please note that some minor whitespace changes have been made. To reproduce, clone and and populate any repeatable subfield, save, and open the authority for editing again. The clones subfield will be formatting incorrectly, showing bullet points on each line. To test, apply the patch and reload the authority editor showing the record with the cloned subfield. It should display correctly. Signed-off-by: Marcel de Rooy --- .../prog/en/modules/authorities/authorities.tt | 25 ++++++++++------------ 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index 55ddb49f4c..76c1df8ceb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -406,20 +406,17 @@ function confirmnotdup(redirect){ [% END %] - - - - [% END %] - - - - [% END %] - - [% END %] - -[% END %] - - + + + [% END %] + + + [% END %] + [% END %] + + + [% END %] +
[% FOREACH hidden_loo IN hidden_loop %] -- 2.11.0