Bug 17818 - Duplicating a subfield yields an empty subfield tag [follow-up]
authorSophie Meynieux <sophie.meynieux@biblibre.com>
Wed, 28 Dec 2016 14:04:51 +0000 (15:04 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 10 May 2017 11:24:15 +0000 (13:24 +0200)
commit4ed2e5e0ed8aaf902106a5312500eb1ab5598d98
treefa8b85f05f953a652e91de3176a9c4e80b50a2f8
parent8fd58517a24d07ba2f32771e095646560d3f588d
Bug 17818 - Duplicating a subfield yields an empty subfield tag [follow-up]

The problem is the same as Bug 17477 but also for dropdown selection list

Steps to reproduce error:
- On the cataloging screen (basic screen), create a new record
- Go to a field with repetable subfields and associated with authorised values
- Select a value for the subfield
 583$x)
 - Clone the subfield
 - select another value for the new subfield
 - Save the record
 - Edit the record to modify => the clone subfield has desappeared.
If you look in DB in marcxml, the subfield is present but without code

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

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js