[Koha-bugs] [Bug 33155] Category and library filters from header patron search not taken into account
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 7 14:11:40 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33155
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #147834|0 |1
is obsolete| |
--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 147836
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147836&action=edit
Bug 33155: Fix category and library filters in patron search header
Caused by
commit f1925cf89dbc1039fc48abfabad1472289387148
Bug 7380: Rename filter to avoid confusion
[% IF categorycode %]
- $("#categorycode_filter").val("[% categorycode %]");
+ $("#categorycode_filter").val("[% categorycode_filter %]");
[% END %]
[% IF branchcode %]
- $("#branchcode_filter").val("[% branchcode %]");
+ $("#branchcode_filter").val("[% branchcode_filter %]");
[% END %]
Forgot to rename the vars in the IF statements
Test plan:
Go to the Koha mainpage
Click "Search patrons" in the headers
Open the filters
Select something for library and category, search
=> The values must be picked for the patron search
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list