diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 43986779c2..c7714dcd52 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -966,15 +966,15 @@ sub _availability { my $itemcallnumber = $item->itemcallnumber; if ( $item->notforloan ) { - return ( $biblionumber, 'not available', 'Not for loan', $location ); + return ( $biblionumber, 'not available', 'Not for loan', $location, $itemcallnumber ); } elsif ( $item->onloan ) { - return ( $biblionumber, 'not available', 'Checked out', $location ); + return ( $biblionumber, 'not available', 'Checked out', $location, $itemcallnumber ); } elsif ( $item->itemlost ) { - return ( $biblionumber, 'not available', 'Item lost', $location ); + return ( $biblionumber, 'not available', 'Item lost', $location, $itemcallnumber ); } elsif ( $item->withdrawn ) { - return ( $biblionumber, 'not available', 'Item withdrawn', $location ); + return ( $biblionumber, 'not available', 'Item withdrawn', $location, $itemcallnumber ); } elsif ( $item->damaged ) { - return ( $biblionumber, 'not available', 'Item damaged', $location ); + return ( $biblionumber, 'not available', 'Item damaged', $location, $itemcallnumber ); } else { return ( $biblionumber, 'available', undef, $location, $itemcallnumber ); } diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt index 1349ff6994..35a22f10c5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt @@ -102,7 +102,7 @@

GetAvailability

Given a set of bibliographic or item identifiers, returns a - list with availability of the items associated with the identifiers.

+ list with availability and call number of the items associated with the identifiers.

Parameters

@@ -146,6 +146,7 @@ <dlf:identifier>1</dlf:identifier> <dlf:availabilitystatus>available</dlf:availabilitystatus> <dlf:location>Bibliothèque Jean Prunier</dlf:location> + <dlf:itemcallnumber>iPR 8923 W6 L36 1990 c.1</dlf:itemcallnumber> </dlf:simpleavailability> </dlf:item> </dlf:items> @@ -158,6 +159,7 @@ <dlf:identifier>2</dlf:identifier> <dlf:availabilitystatus>available</dlf:availabilitystatus> <dlf:location>Bibliothèque Jean Prunier</dlf:location> + <dlf:itemcallnumber>iPR 8923 W6 L36 1990 c.2</dlf:itemcallnumber> </dlf:simpleavailability> </dlf:item> </dlf:items>