Bug 40961: Default item and patron library values to blank

To test:
1 - load the Circulation Statistics wizard
2 - confirm Home library, Holding library, and Patron library default to selecting the logged-in branch
3 - apply patch, restart_all, reload page
4 - confirm Home library, Holding library, and Patron library default to a blank selection
5 - confirm queries with those blank selections are not limited by items.homebranch, items.holdingbranch, or borrowers.branchcode

Signed-off-by: Katherine Wolf <wolf@sarsf.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit b2d3ec043c)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Andrew Fuerste Henry 2025-11-19 17:05:46 +00:00 committed by Paul Derscheid
parent 91b362041e
commit 701bb15059
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 3 additions and 3 deletions

View File

@ -347,7 +347,7 @@
<td
><select name="Filter" id="homebranch">
<option value=""> </option>
[% PROCESS options_for_libraries libraries => Branches.all() %]
[% PROCESS options_for_libraries libraries => Branches.all({ selected => "" }) %]
</select>
</td>
</tr>
@ -359,7 +359,7 @@
<td
><select name="Filter" id="holdingbranch">
<option value=""> </option>
[% PROCESS options_for_libraries libraries => Branches.all() %]
[% PROCESS options_for_libraries libraries => Branches.all({ selected => "" }) %]
</select>
</td>
</tr>
@ -370,7 +370,7 @@
<td>
<select name="Filter" id="patron_library">
<option value=""> </option>
[% PROCESS options_for_libraries libraries => Branches.all() %]
[% PROCESS options_for_libraries libraries => Branches.all({ selected => "" }) %]
</select>
</td>
</tr>