]> git.koha-community.org Git - koha.git/commit
Bug 21774: Cloned item subfields disappear when editing an item
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 8 Nov 2018 13:49:10 +0000 (14:49 +0100)
committerJesse Maseto <jesse@bywatersolution.com>
Fri, 7 Dec 2018 22:01:16 +0000 (22:01 +0000)
commitd6fe41657861666320383904b16165cc4820777a
tree6626eef8722a9b35fcf93d9d1e617b8eb23840e3
parent99436fa499e6f08f4575a4135344a46aa0bb6a94
Bug 21774: Cloned item subfields disappear when editing an item

Bug 10306 changed behavior on cloning item subfields by no longer splitting
constructions like 'A | B' in item fields like ccode.

If it is really recommended to clone item subfields, I am not so sure
about. But this patch at least restores the possibility to do so while
we discuss if we should ;)

Test plan:
[1] Run Items.t
[2] Make an item subfield repeatable in framework. And test edit items.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Works as expected. Also fixes the display of collections on the items
table (on editing items).

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 5f34dd06ec66b11a914e49eb611714ea4c72771d)

Signed-off-by: Jesse Maseto <jesse@bywatersolution.com>
C4/Items.pm
t/db_dependent/Items.t