]> git.koha-community.org Git - koha.git/commit
Bug 25022: Display problem in authority editor with repeatable field
authorOwen Leonard <oleonard@myacpl.org>
Tue, 31 Mar 2020 14:20:23 +0000 (14:20 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 11 May 2020 19:47:13 +0000 (19:47 +0000)
commitbfd709df691fc5f774683282dc6f78ab8318fb46
tree50da32fc1104fe80d71f818254bcd110076fe343
parent05399b5fdd8988a4d16960aa5f9e3e082e249025
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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 276e271ef4ec7c6d5196a3214663996b4cd289db)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt