]> git.koha-community.org Git - koha.git/commit
Bug 17477: Duplicating a subfield yields an empty subfield tag
authorHector Castro <hector.hecaxmmx@gmail.com>
Thu, 20 Oct 2016 14:57:46 +0000 (08:57 -0600)
committerFrédéric Demians <f.demians@tamil.fr>
Sat, 22 Oct 2016 13:05:24 +0000 (15:05 +0200)
commit90e9ab941eb47b0be4f859c45d394575324b5fc7
tree1bb96742142cb7cbb381aab1bdf8da217c4556c7
parentafd505b5e9ab8f6ffe82e7edecab6924dbd2e511
Bug 17477: Duplicating a subfield yields an empty subfield tag

The problem only when clone a textareas in 5XX

Steps to reproduce error:
- On the cataloging screen (basic screen), create a new record
- Go to the 5xx fields
- Put something on the 521$a subfield or other textareas (e.g. 520$u or
 583$x)
- Clone the subfield
=> FAIL: The subfield correctly doesn't include the original data,
BUT it doesn't have the subtield tag either.

- Apply patch
- Clean cache browser and reload page
- Repeat steps above
- Verify that works as expected

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit fbe75e66ccb93a6a4d973e3066ca1ebad169a5b6)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/js/cataloging.js