From a7040ca706bb26b2c86a1dff30b42e5577aaabfc Mon Sep 17 00:00:00 2001 From: Martin Persson Date: Thu, 3 Dec 2015 16:21:39 +0100 Subject: [PATCH] Bug 15292 - Libris ILS-DI item status (opac) This patch adds the GetLibrisAvailability method to the ILS-DI service endpoint in the OPAC. Sponsored-By: Halland County Library --- opac/ilsdi.pl | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl index c53acc6..8481316 100755 --- a/opac/ilsdi.pl +++ b/opac/ilsdi.pl @@ -49,6 +49,7 @@ my @services = ( # 'HarvestBibliographicRecords', # OAI-PMH # 'HarvestExpandedRecords', # OAI-PMH 'GetAvailability', # FIXME Add bibbliographic level + 'GetLibrisAvailability', # 'GoToBibliographicRequestPage' # I don't understant this one # Level 2: Elementary OPAC supplement @@ -82,18 +83,19 @@ my @services = ( # List of required arguments my %required = ( - 'Describe' => ['verb'], - 'GetAvailability' => [ 'id', 'id_type' ], - 'GetRecords' => ['id'], - 'GetAuthorityRecords' => ['id'], - 'LookupPatron' => ['id'], - 'AuthenticatePatron' => [ 'username', 'password' ], - 'GetPatronInfo' => ['patron_id'], - 'GetPatronStatus' => ['patron_id'], - 'GetServices' => [ 'patron_id', 'item_id' ], - 'RenewLoan' => [ 'patron_id', 'item_id' ], - 'HoldTitle' => [ 'patron_id', 'bib_id', 'request_location' ], - 'HoldItem' => [ 'patron_id', 'bib_id', 'item_id' ], + 'Describe' => ['verb'], + 'GetAvailability' => [ 'id', 'id_type' ], + 'GetLibrisAvailability' => [ 'id' ], + 'GetRecords' => ['id'], + 'GetAuthorityRecords' => ['id'], + 'LookupPatron' => ['id'], + 'AuthenticatePatron' => [ 'username', 'password' ], + 'GetPatronInfo' => ['patron_id'], + 'GetPatronStatus' => ['patron_id'], + 'GetServices' => [ 'patron_id', 'item_id' ], + 'RenewLoan' => [ 'patron_id', 'item_id' ], + 'HoldTitle' => [ 'patron_id', 'bib_id', 'request_location' ], + 'HoldItem' => [ 'patron_id', 'bib_id', 'item_id' ], 'CancelHold' => [ 'patron_id', 'item_id' ], ); -- 2.1.4