Summary: | Allow to define what information is automatically transferred from biblio to a new component record | ||
---|---|---|---|
Product: | Koha | Reporter: | Piia Semenoff <piia.semenoff> |
Component: | Cataloging | Assignee: | Johanna Räisä <johanna.raisa> |
Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | johanna.raisa, m.de.rooy, ovezina |
Version: | 23.11 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 37061: allow to configure how is data copied from host to component parts
Bug 37061: allow to configure how is data copied from host to component parts Bug 37061: allow to configure how is data copied from host to component parts |
Description
Piia Semenoff
2024-06-10 12:37:38 UTC
Created attachment 167648 [details] [review] 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 Created attachment 167683 [details] [review] 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 Created attachment 172001 [details] [review] 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 Signed-off-by: Olivier V <olivier.vezina@inLibro.com> Not sure if both of them needed to be signed off they seem pretty similar But everything seem to be working with only the second one (In reply to Olivier Vezina from comment #5) > But everything seem to be working with only the second one I probably have submitted the patch twice, since to me those are similar. I tried to look for a tool to removing the other patch but I couldn't find any. |