https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37061 Johanna Räisä <johanna.raisa@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167648|0 |1 is obsolete| | --- Comment #2 from Johanna Räisä <johanna.raisa@koha-suomi.fi> --- Created attachment 167683 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167683&action=edit Bug 37061: allow to configure how is data copied from host to component parts This patch adds a new system preference to allow to configure how is data copied from host to component parts. The rules are defined in YAML format. If left empty, the default behavior is to copy the host data to the component parts as hard coded in the code. Test plan: 1) Apply the patch 2) Run updatedatabase.pl 3) Go to Administration -> Global system preferences 4) Search for PrepareHostField 5) Fill the rules in YAML format as in the example in the description 6) Save 7) Create a new child record 8) See that the data is copied from host to the component parts according to the rules Sponsored-by: Koha-Suomi Oy -- You are receiving this mail because: You are watching all bug changes.