Bugzilla – Attachment 158229 Details for
Bug 34913
Upgrade DataTables from 1.10.18 to 1.13.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34913: Fix Activate/Deactive filters with table_filters.js
Bug-34913-Fix-ActivateDeactive-filters-with-tablef.patch (text/plain), 1.15 KB, created by
David Cook
on 2023-11-02 01:38:40 UTC
(
hide
)
Description:
Bug 34913: Fix Activate/Deactive filters with table_filters.js
Filename:
MIME Type:
Creator:
David Cook
Created:
2023-11-02 01:38:40 UTC
Size:
1.15 KB
patch
obsolete
>From c3e900a5b54df6255f3847038cc799c92860e7d9 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Thu, 2 Nov 2023 01:37:35 +0000 >Subject: [PATCH] Bug 34913: Fix Activate/Deactive filters with > table_filters.js > >This change prevents columnFilter from being called twice. If it's >called twice, it compromises the formatting of the filters. >--- > koha-tmpl/intranet-tmpl/prog/js/table_filters.js | 6 ------ > 1 file changed, 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/table_filters.js b/koha-tmpl/intranet-tmpl/prog/js/table_filters.js >index 6c8dff92ab..b915ac7fe3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/table_filters.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/table_filters.js >@@ -19,12 +19,6 @@ function activate_filters(id, bShowFilters) { > ,'bFiltersAlreadyActivated': false > }); > filters_row.addClass('columnFilter'); >- } else { >- table.dataTable().columnFilter({ >- 'sPlaceHolder': 'head:after' >- , "columns": aoColumns >- ,'bFiltersAlreadyActivated': true >- }); > } > > if (bShowFilters) { >-- >2.34.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 34913
:
156480
|
157511
|
157725
|
157726
|
157729
|
158229
|
161575