From 9d6362145ff335cec81e64874021c8f7a4479f23 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 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 Signed-off-by: Martin Renvoize --- .../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.39.5