Skip to content

Commit

Permalink
DIS-34 Local ILL
Browse files Browse the repository at this point in the history
- Do not allow placing local ILL requests for specific volumes within Symphony since Symphony does not properly select the correct volume.
  • Loading branch information
mdnoble73 committed Jan 21, 2025
1 parent f00d65c commit 829badc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions code/web/Drivers/SirsiDynixROA.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions code/web/release_notes/25.01.01.MD
Original file line number Diff line number Diff line change
@@ -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*)

Expand Down

0 comments on commit 829badc

Please sign in to comment.