[3.0.x] (bug #4263) fix the edition of items with repeatable subfields
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Tue, 2 Mar 2010 08:57:33 +0000 (09:57 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Mon, 8 Mar 2010 22:07:28 +0000 (23:07 +0100)
commit5cbb6dfeb169aca83365ead01524bc024e9cfd8b
treef8606df5ba21a6feab3567bbaccd57175f8da8ec
parentb22c1a1e100a3f3a86cc635e0916ca8c61955a37
[3.0.x] (bug #4263) fix the edition of items with repeatable subfields

The subfield management in item level is broken, fields are concatenated in one field, and if the librarian edit it, the values are not selected.
This big patch fix three things:
 1) saving fields that are stocked in SQL(using koha2marc mapping) are now well cut and separated in _REAL_ subfields
 2) loading records with repeatable subfields are now well returned
 3) Editing items with repeatable fields works well

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Biblio.pm
C4/Items.pm
cataloguing/additem.pl