Bugzilla – Attachment 174219 Details for
Bug 33484
Ability to remember user's selected table configuration and search filters for tables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33484: Redraw columns filters when column visibility is modified - Vue
Bug-33484-Redraw-columns-filters-when-column-visib.patch (text/plain), 1.46 KB, created by
Jonathan Druart
on 2024-11-07 13:33:40 UTC
(
hide
)
Description:
Bug 33484: Redraw columns filters when column visibility is modified - Vue
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-11-07 13:33:40 UTC
Size:
1.46 KB
patch
obsolete
>From b79820e7e7a0d6d6cdf1f81b6153473516764cad Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 7 Nov 2024 14:33:20 +0100 >Subject: [PATCH] Bug 33484: Redraw columns filters when column visibility is > modified - Vue > >--- > .../intranet-tmpl/prog/js/vue/components/KohaTable.vue | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue >index 9064f677c44..d56b9563c85 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue >@@ -219,15 +219,16 @@ export default { > let dt = this.$refs.table.dt() > let table_node = dt.table().node() > let add_filters = this.add_filters >+ let filters_options = this.filters_options > if (add_filters) { >- _dt_add_filters(table_node, dt, this.filters_options) >+ _dt_add_filters(table_node, dt, filters_options) > } > > dt.on("column-visibility.dt", function () { >- _dt_on_visibility(add_filters, table_node, dt) >+ if (add_filters) { >+ _dt_add_filters(table_node, dt, filters_options) >+ } > }) >- .columns(this.hidden_ids) >- .visible(false) > > dt.on("search.dt", function (e, settings) { > toggledClearFilter( >-- >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 33484
:
149444
|
149445
|
149447
|
149448
|
149449
|
149925
|
149926
|
149927
|
149928
|
149929
|
149930
|
149974
|
149975
|
149976
|
149977
|
149978
|
149979
|
173443
|
173444
|
173445
|
173446
|
173447
|
173448
|
173449
|
173450
|
173451
|
173452
|
173453
|
173454
|
173455
|
173456
|
173457
|
173458
|
173459
|
173460
|
173461
|
173462
|
173463
|
173464
|
173465
|
173466
|
173467
|
173468
|
173469
|
173470
|
173471
|
173472
|
173473
|
173474
|
173475
|
173476
|
173477
|
173478
|
173479
|
173480
|
173481
|
173482
|
173483
|
173484
|
173485
|
173486
|
173546
|
173606
|
173607
|
173985
| 174219