From bfd709df691fc5f774683282dc6f78ab8318fb46 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 Signed-off-by: Joy Nelson (cherry picked from commit 276e271ef4ec7c6d5196a3214663996b4cd289db) Signed-off-by: Lucas Gass --- .../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 bf2dffc6ca..d49a8b9305 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -405,20 +405,17 @@ function confirmnotdup(redirect){ [% END %] - - - - [% END %] - - - - [% END %] - - [% END %] - -[% END %] - - + + + [% END %] + + + [% END %] + [% END %] + + + [% END %] +
[% FOREACH hidden_loo IN hidden_loop %] -- 2.39.5