From ed65ec86a983f049bea6b84a5586e09521f3d7a2 Mon Sep 17 00:00:00 2001 From: Robin Sheat Date: Tue, 24 Jun 2014 15:28:15 +1200 Subject: [PATCH] Bug 12469 - make ILS-DI include the call number. This has ILS-DI include the call number as part of the human-readable location field. It is included in the same form as the examples in the specification. Test plan: * Hit an ILS-DI URL like: http://koha/cgi-bin/koha/ilsdi.pl?service=GetAvailability&id=1+2+1781&id_type=item * see that the lication information is now "Branch, Call # 123.4 ABC" --- C4/ILSDI/Services.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index bd201d3..22474a8 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -777,6 +777,7 @@ sub _availability { my $biblionumber = $item->{'biblioitemnumber'}; my $location = GetBranchName( $item->{'holdingbranch'} ); + $location .= ", Call # $item->{itemcallnumber}" if $item->{itemcallnumber}; if ( $item->{'notforloan'} ) { return ( $biblionumber, 'not available', 'Not for loan', $location ); -- 1.8.3.2