[Koha-patches] [PATCH 2/2] Bug 3813: SIP2, Bad Patron Information Response to Message 64

Frédéric Demians f.demians at tamil.fr
Fri Nov 27 09:46:06 CET 2009


This fix returns item's barcodes in AU fields
---
 C4/SIP/Sip/MsgType.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/SIP/Sip/MsgType.pm b/C4/SIP/Sip/MsgType.pm
index 67ccc21..1b210ca 100644
--- a/C4/SIP/Sip/MsgType.pm
+++ b/C4/SIP/Sip/MsgType.pm
@@ -904,7 +904,7 @@ sub summary_info {
 
     syslog("LOG_DEBUG", "summary_info: list = (%s)", join(", ", @{$itemlist}));
     foreach my $i (@{$itemlist}) {
-        $resp .= add_field($fid, $i);
+        $resp .= add_field($fid, $i->{barcode});
     }
 
     return $resp;
-- 
1.6.4.3




More information about the Koha-patches mailing list