Bug 41311

Summary: Add ability for SIP to send patron home library ( branchcode ) in AO field
Product: Koha Reporter: Kyle M Hall (khall) <kyle>
Component: SIP2Assignee: Kyle M Hall (khall) <kyle>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: martin.renvoize
Version: 25.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 37893    
Bug Blocks:    
Attachments: Bug 41311 - Add ability for SIP to send patron home library ( branchcode ) in AO field
Bug 41311: Update DBIC [DO NOT PUSH]
Bug 41311 - Add ability for SIP to send patron home library ( branchcode ) in AO field
Bug 41311: Update DBIC [DO NOT PUSH]
Bug 41311: Add ability for SIP to send patron home library ( branchcode ) in AO field
Bug 41311: Update DBIC [DO NOT PUSH]

Description Kyle M Hall (khall) 2025-11-26 13:11:05 UTC
SIP sends the configured institution ID in the AO field, but nearly every SIP-using vendor I've worked with assumes that the AO field will contain the patron's home branch code instead. We've dealt with this by creating custom fields, but it would be simpler and easier if we had the option of sending the patron's home branchcode in the AO field for patron status and patron information requests.

The SIP2 spec lists is simply as "The library's institution ID" leaving pretty much everything about it up to interpretation.
Comment 1 Kyle M Hall (khall) 2025-11-26 17:47:16 UTC
Created attachment 189974 [details] [review]
Bug 41311 - Add ability for SIP to send patron home library ( branchcode ) in AO field
Comment 2 Kyle M Hall (khall) 2025-11-26 17:47:25 UTC
Created attachment 189975 [details] [review]
Bug 41311: Update DBIC [DO NOT PUSH]
Comment 3 Martin Renvoize (ashimema) 2025-12-02 14:18:20 UTC
Created attachment 190080 [details] [review]
Bug 41311 - Add ability for SIP to send patron home library ( branchcode ) in AO field

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Comment 4 Martin Renvoize (ashimema) 2025-12-02 14:18:22 UTC
Created attachment 190081 [details] [review]
Bug 41311: Update DBIC [DO NOT PUSH]

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Comment 5 Martin Renvoize (ashimema) 2025-12-02 14:19:08 UTC
Created attachment 190083 [details] [review]
Bug 41311: Add ability for SIP to send patron home library ( branchcode ) in AO field

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Comment 6 Martin Renvoize (ashimema) 2025-12-02 14:19:09 UTC
Created attachment 190084 [details] [review]
Bug 41311: Update DBIC [DO NOT PUSH]

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>