Bugzilla – Attachment 62183 Details for
Bug 18436
Add home library to the SIP2 patron info response 64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18436: SIP: Add home library to the SIP2 patron info response 64
Bug-18436-SIP-Add-home-library-to-the-SIP2-patron-.patch (text/plain), 1.26 KB, created by
Marc Véron
on 2017-04-14 21:16:07 UTC
(
hide
)
Description:
Bug 18436: SIP: Add home library to the SIP2 patron info response 64
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-04-14 21:16:07 UTC
Size:
1.26 KB
patch
obsolete
>From 943e6730a600f7f02b64666553359c55826cfe42 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Fri, 14 Apr 2017 23:02:05 +0200 >Subject: [PATCH] Bug 18436: SIP: Add home library to the SIP2 patron info > response 64 > >This patch adds the patron's home library code as AQ segment to response 64 (patron >information) > >To test: >- Set up Koha SIP2 server ( https://wiki.koha-community.org/wiki/Koha_SIP2_server_setup ) >- Test without patch, verify that AQ segement does not appear in response 64 >- Apply patch, stop / start SIP2 server (maybe restart plack and memcached > as well) >- Verify that AQ segment with patron's home library code appears in response > 64 >--- > C4/SIP/Sip/MsgType.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/SIP/Sip/MsgType.pm b/C4/SIP/Sip/MsgType.pm >index 4e406e2..cac1d18 100644 >--- a/C4/SIP/Sip/MsgType.pm >+++ b/C4/SIP/Sip/MsgType.pm >@@ -957,6 +957,7 @@ sub handle_patron_info { > # use the one returned from the ILS, just in case... > $resp .= add_field( FID_PATRON_ID, $patron->id ); > $resp .= add_field( FID_PERSONAL_NAME, $patron->name ); >+ $resp .= add_field( FID_PERM_LOCN, $patron->{branchcode} ); > > # TODO: add code for the fields > # hold items limit >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18436
: 62183