Bugzilla – Attachment 97955 Details for
Bug 12469
Add more information to the ILS-DI results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12469: make ILS-DI include the call number.
Bug-12469-make-ILS-DI-include-the-call-number.patch (text/plain), 1.28 KB, created by
Arthur Suzuki
on 2020-01-27 02:54:10 UTC
(
hide
)
Description:
Bug 12469: make ILS-DI include the call number.
Filename:
MIME Type:
Creator:
Arthur Suzuki
Created:
2020-01-27 02:54:10 UTC
Size:
1.28 KB
patch
obsolete
>From 88ec1be9ce1d31e91aaa503e8f068e8cc16aa173 Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >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 location information is now "Branch, Call # 123.4 ABC" >--- > C4/ILSDI/Services.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 64caa4a6fa..898b7cc5fd 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -872,9 +872,11 @@ sub _availability { > return ( undef, 'unknown', 'Error: could not retrieve availability for this ID', undef ); > } > >+ > my $biblionumber = $item->biblioitemnumber; > my $library = Koha::Libraries->find( $item->holdingbranch ); > my $location = $library ? $library->branchname : ''; >+ $location .= ", Call # $item->{itemcallnumber}" if $item->{itemcallnumber}; > > if ( $item->notforloan ) { > return ( $biblionumber, 'not available', 'Not for loan', $location ); >-- >2.20.1
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 12469
:
29183
|
29201
|
29202
| 97955 |
97956
|
97957
|
97958