]> git.koha-community.org Git - koha.git/commit
Bug 23309: Use Koha::MarcSubfieldStructures to create to subfields
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Aug 2019 01:16:00 +0000 (20:16 -0500)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 17 Sep 2019 20:17:10 +0000 (20:17 +0000)
commit12ed7a654b01c0eefb05c14ae8f5d1ddbac4edb7
tree686ca6d32c50d758bd073dc6361f15bfad52acc0
parentd9d4b54065a48687a36f4104e3334639e589b569
Bug 23309: Use Koha::MarcSubfieldStructures to create to subfields

It will fix the insert of new subfields with SQL strict modes

DBD::mysql::st execute failed: Incorrect integer value: '' for column
'hidden' at row 1 [for Statement "

Test plan:
- Turn the config strict_sql_modes ON
- Add a new subfield to a field

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 144e753da65cafa3c4291eec701222784ec0893f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 611bea77ec1c125dbfce5c4b40681fcc6fab9520)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
admin/marc_subfields_structure.pl