[Koha-bugs] [Bug 13666] Allow SIP2 checkin/checkout to get branch from institution_id field AO

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 5 15:59:03 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13666

--- Comment #1 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
Created attachment 35672
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35672&action=edit
Bug 13666 - Allow SIP2 checkin/checkout to get branch from institution_id field
AO

This patch adds a policy flag in SIPConfig.xml that allows overriding branch on
SIP2 checkout with the AO (institution id) field. Since SIP2 also uses
C4::Context
this patch has to modify C4::Context->userenv->{'branch'}

Test plan:
1) Either use telnet or apply patch from bug #13159 to use sip command line
client
2) Checkout book with SIP2 using a modified institution id (field AO) than
   the one defined in SIPConfig.xml for the account
3) Notice returned AO is still same as in SIPConfig account
4) Also notice checkout history in admin gives same 'checked out from'
5) Apply this patch and add 'allow_branch_override="true" to the policy of your
ILS
6) Restart SIP server
7) Repeat 2)
8) Notice that 3) and 4) now reports the modified institution id

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list