https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37061

--- Comment #9 from Lin Wei <[email protected]> ---
Created attachment 182302
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182302&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
9) prove t/db_dependent/Biblio.t

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Lin Wei Li <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to