From 829badc663c9495c523df15a10bcfe6f6ffd5dc8 Mon Sep 17 00:00:00 2001 From: Mark Noble Date: Tue, 21 Jan 2025 14:21:53 -0700 Subject: [PATCH] DIS-34 Local ILL - Do not allow placing local ILL requests for specific volumes within Symphony since Symphony does not properly select the correct volume. --- code/web/Drivers/SirsiDynixROA.php | 16 ++++++++++++++++ code/web/release_notes/25.01.01.MD | 3 +++ 2 files changed, 19 insertions(+) diff --git a/code/web/Drivers/SirsiDynixROA.php b/code/web/Drivers/SirsiDynixROA.php index d0bdd6bb8d..a1a5f6c413 100644 --- a/code/web/Drivers/SirsiDynixROA.php +++ b/code/web/Drivers/SirsiDynixROA.php @@ -1484,6 +1484,22 @@ function placeSirsiHold(User $patron, string $recordId, ?string $itemId, ?string 'key' => 'USPS', ]; $holdData['holdRange'] = 'SYSTEM'; + + if (!empty($volume)) { + //Local ILL with books by mail doesn't work, just return an error message + $result['success'] = false; + $result['message'] = translate([ + 'text' => "Titles with volumes cannot be requested from other libraries via the catalog. Please contact the library to request this title.", + 'isPublicFacing' => true, + ]); + + $result['api']['title'] = translate([ + 'text' => 'Error', + 'isPublicFacing' => true, + ]); + $result['api']['message'] = $result['message']; + return $result; + } } //$holdRecord = $this->getWebServiceResponse('holdRecordDescribe', $webServiceURL . "/circulation/holdRecord/describe", null, $sessionToken); diff --git a/code/web/release_notes/25.01.01.MD b/code/web/release_notes/25.01.01.MD index 90f0d7c0d9..f73b7df5a1 100644 --- a/code/web/release_notes/25.01.01.MD +++ b/code/web/release_notes/25.01.01.MD @@ -1,4 +1,7 @@ ## Aspen Discovery Updates +### Local ILL Updates +- Do not allow placing local ILL requests for specific volumes within Symphony since Symphony does not properly select the correct volume. (DIS-34) (*MDN*) + ### Location Updates - Allow non-numeric ILS IDs to be saved for sublocations. (DIS-46) (*MDN*)