Koha/t/db_dependent/SIP
Kyle Hall 14cfdfd727 Bug 31236: Add ability to send custom item fields via SIP using Template Toolkit
Koha has been able to send arbitrary item fields via the "item_field" parameter in the config. We have partners that need the ability to created custom item fields from templates, as the item_fields feature cannot accomplish what they need. We need to add a templated custom field feature for items, similar to what we have for patrons.

Test Plan:
1) Apply this patch
2) Choose a SIP login to use, edit that account and add the following
   *inside* the login section:
   <custom_item_field field="IN" template="[% item.itemnumber %]" />
3) Restart SIP
4) Run an item information query
5) Note the itemnumber is sent in the IN field!

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Edit: fixed tests count
2022-09-12 17:44:36 -03:00
..
ILS.t Bug 29094: Adding hold via SIP should check if patron can hold item first 2022-07-18 10:24:58 -03:00
Message.t Bug 31236: Add ability to send custom item fields via SIP using Template Toolkit 2022-09-12 17:44:36 -03:00
Patron.t Bug 29755: (follow-up) Mock NoIssuesChargeGuarantorsWithGuarantees in test 2022-05-06 15:58:13 -10:00
SIPServer.t
Transaction.t Bug 12225: Add unit tests 2022-08-25 08:22:35 -03:00