Bugzilla – Attachment 189869 Details for
Bug 40961
LocalUse Circulation Statistics offering empty results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40961: Default item and patron library values to blank
Bug-40961-Default-item-and-patron-library-values-t.patch (text/plain), 2.67 KB, created by
Andrew Fuerste-Henry
on 2025-11-21 17:41:28 UTC
(
hide
)
Description:
Bug 40961: Default item and patron library values to blank
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-11-21 17:41:28 UTC
Size:
2.67 KB
patch
obsolete
>From 349820ba404fbb9925580faeac00bf031ca8dc6d Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Wed, 19 Nov 2025 17:05:46 +0000 >Subject: [PATCH] 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> >--- > .../intranet-tmpl/prog/en/modules/reports/issues_stats.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >index a43da66ef42..0b2de47820b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >@@ -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> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40961
:
187489
|
189715
| 189869