]> git.koha-community.org Git - koha.git/commit
Bug 21979: Add option to SIP2 config to send arbitrary item field in CR instead of...
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 7 Dec 2018 19:32:00 +0000 (14:32 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Oct 2020 08:33:10 +0000 (10:33 +0200)
commite58689a9b9421ca23bcd29d86403670a39412c3f
tree35733fac5596db3c56bb7b21d884402b2260a51c
parent87ca07f4231b72c62ad8e9ba895a3e7575b8c114
Bug 21979: Add option to SIP2 config to send arbitrary item field in CR instead of collection code

Some libraries need to send a different field as the collection code,
depending on how the library catalogs items. We should allow any arbitrary
item field to be used as the value for the CR field.

Test Plan:
1) Apply this patch
2) Set the new option cr_item_field to 'shelving_location'
3) Restart the SIP server
3) Perform a checkin via SIP
4) Note the CR field contains the shelving location code in the response
5) Perform an item information request
6) Note the CR field contains the shelving location code in the response

Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/SIP/ILS/Item.pm
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml