]> git.koha-community.org Git - koha.git/commit
Bug 17152: Do not copy value when duplicating a subfield
authorHector Castro <hector.hecaxmmx@gmail.com>
Wed, 31 Aug 2016 19:33:53 +0000 (13:33 -0600)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 16 Sep 2016 08:32:59 +0000 (10:32 +0200)
commitffe7aeaedad83fe459bb8450cd1555a857fe4520
tree101e1b597412c8418cdfd16c08c98fd387d7cff9
parent2a4dfb1ed7cc6e7cb3718649f4593ea2623f7b5f
Bug 17152: Do not copy value when duplicating a subfield

When cataloguing, if you want to duplicate a subfield that is not
empty, the new subfield is created with a copy of data in it.
This is not the case when you duplicate an whole field. The new one is
created with subfields but without data in it.

Test plan:
Add or edit a bibliographic record
Fill a subfield
Duplicate the subfield
=> Without this patch the value of the input will be copied
=> With this patch the new input will be emptied

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 451fd67dd15b967471983c7c8dc601e0d1f65228)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 71b81ae6d63089fc22a24157942426346d54c034)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js