Skip to content

Commit 921bd1a

Browse files
committed
Merge branch '25.01.01' into 25.02.00
2 parents 9b81c37 + b7541c9 commit 921bd1a

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

code/web/interface/themes/responsive/Record/hold-popup.tpl

+10-10
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@
5454
{/foreach}
5555
{/if}
5656
{assign var="onlyOnePickupSublocation" value=false}
57-
{if count($pickupSublocations) == 1}
58-
{foreach from=$pickupSublocations item=firstSublocation}
59-
{if !is_string($firstSublocation) && ($firstSublocation->code == $user->getPickupSublocationCode())}
60-
{assign var="onlyOnePickupSublocation" value=true}
61-
{/if}
62-
{/foreach}
63-
{/if}
57+
{* {if count($pickupSublocations) == 1}*}
58+
{* {foreach from=$pickupSublocations item=firstSublocation}*}
59+
{* {if !is_string($firstSublocation) && ($firstSublocation->code == $user->getPickupSublocationCode())}*}
60+
{* {assign var="onlyOnePickupSublocation" value=true}*}
61+
{* {/if}*}
62+
{* {/foreach}*}
63+
{* {/if}*}
6464
{if ($rememberHoldPickupLocation && $allowRememberPickupLocation) || $onlyOnePickupLocation}
6565
<input type="hidden" name="pickupBranch" id="pickupBranch" value="{$user->getPickupLocationCode()}">
6666
{if ($rememberHoldPickupLocation && $allowRememberPickupLocation)}
@@ -69,9 +69,9 @@
6969
<input type="hidden" name="rememberHoldPickupLocation" id="rememberHoldPickupLocation" value="off">
7070
{/if}
7171

72-
{if $onlyOnePickupSublocation}
73-
<input type="hidden" name="pickupSublocation" id="pickupSublocation" value="{$user->getPickupSublocationCode()}">
74-
{/if}
72+
{* {if $onlyOnePickupSublocation}*}
73+
{* <input type="hidden" name="pickupSublocation" id="pickupSublocation" value="{$user->getPickupSublocationCode()}">*}
74+
{* {/if}*}
7575
<input type="hidden" name="user" id="user" value="{$user->id}">
7676
{else}
7777
<div id="pickupLocationOptions" class="form-group">

code/web/release_notes/25.01.01.MD

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
## Aspen Discovery Updates
2+
### Hold Updates
3+
- Correctly show the hold popup if only one pickup location is available after sublocation changes. (DIS-46) (*MDN*)
4+
25
### Local ILL Updates
36
- Do not allow placing local ILL requests for specific volumes within Symphony since Symphony does not properly select the correct volume. (DIS-34) (*MDN*)
47

code/web/services/Record/AJAX.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -1032,10 +1032,11 @@ function placeHold(): array {
10321032
require_once ROOT_DIR . '/sys/ILS/IlsVolumeInfo.php';
10331033
$volumeDataDB = new IlsVolumeInfo();
10341034
$volumeDataDB->volumeId = $_REQUEST['volume'];
1035+
$volumeInfo = $_REQUEST['volume'];
10351036
if ($volumeDataDB->find(true)) {
10361037
$volumeLabel = $volumeDataDB->displayLabel;
10371038
} else {
1038-
$volumeInfo = $_REQUEST['volume'];
1039+
$volumeLabel = $_REQUEST['volume'];
10391040
}
10401041
}
10411042

0 commit comments

Comments
 (0)