Bugzilla – Attachment 161092 Details for
Bug 35743
The "category" filter is not selected in the column filter dropdown
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35743: Fix patron's category selection in the column filter
Bug-35743-Fix-patrons-category-selection-in-the-co.patch (text/plain), 1.76 KB, created by
Martin Renvoize (ashimema)
on 2024-01-17 11:04:08 UTC
(
hide
)
Description:
Bug 35743: Fix patron's category selection in the column filter
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-01-17 11:04:08 UTC
Size:
1.76 KB
patch
obsolete
>From 4443d2aca2299c6b91199c2f8812aa593366e0d2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 5 Jan 2024 12:01:55 +0100 >Subject: [PATCH] Bug 35743: Fix patron's category selection in the column > filter > >The "category" filter is not selected in the column filter dropdown. > >Test plan: >0. Do not apply this patch >1. Search for patron, select a patron's category > => Notice that the "Category" column has a column filter, but no > option is selected >2. Apply the patch >3. Repeat 1 > => The "Category" column has the option you selected in the filter > block. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index 11fc20a8e2b..048cd674b14 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -780,7 +780,7 @@ > table_dt.column([% loop.count - 1 %]).search(library_id ? '^'+library_id+'$' : ''); > [% CASE 'category' %] > let category_id = $("#categorycode_filter").val() || ""; >- patrons_table.find('thead tr:eq(1) th[data-filter="categories"] select').val(category_id); >+ patrons_table.find('thead tr:eq(1) th[data-filter="categories"] select').val(category_id.toLowerCase()); > table_dt.column([% loop.count - 1 %]).search(category_id ? '^'+category_id+'$' : ''); > [% END %] > [% END %] >-- >2.43.0
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 35743
:
160695
|
160711
| 161092