Bugzilla – Attachment 147834 Details for
Bug 33155
Category and library filters from header patron search not taken into account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33155: Fix category and library filters in patron search header
Bug-33155-Fix-category-and-library-filters-in-patr.patch (text/plain), 1.84 KB, created by
Jonathan Druart
on 2023-03-07 12:56:49 UTC
(
hide
)
Description:
Bug 33155: Fix category and library filters in patron search header
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-03-07 12:56:49 UTC
Size:
1.84 KB
patch
obsolete
>From ba4e561731dbef2d8e7a3b04bc3ae8be3a9eb176 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 Mar 2023 13:55:19 +0100 >Subject: [PATCH] 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 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index deb8374d747..923ecd10748 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -279,10 +279,10 @@ > [% IF searchtype %] > $("#searchtype_filter").val("[% searchtype | html %]"); > [% END %] >- [% IF categorycode %] >+ [% IF categorycode_filter %] > $("#categorycode_filter").val("[% categorycode_filter | html %]"); > [% END %] >- [% IF branchcode %] >+ [% IF branchcode_filter %] > $("#branchcode_filter").val("[% branchcode_filter | html %]"); > [% END %] > >-- >2.25.1
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 33155
:
147834
|
147836