Bugzilla – Attachment 174683 Details for
Bug 38391
DT's add filters called too many times
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38391: Do not redraw on adjusting col vis in drawcallback
Bug-38391-Do-not-redraw-on-adjusting-col-vis-in-dr.patch (text/plain), 1.37 KB, created by
Owen Leonard
on 2024-11-18 12:50:42 UTC
(
hide
)
Description:
Bug 38391: Do not redraw on adjusting col vis in drawcallback
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-11-18 12:50:42 UTC
Size:
1.37 KB
patch
obsolete
>From 63b4a9b7711f7b19913f25a9c63ae2c2ff7b4e34 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 13 Nov 2024 16:58:50 +0100 >Subject: [PATCH] Bug 38391: Do not redraw on adjusting col vis in drawcallback > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../includes/html_helpers/tables/items/catalogue_detail.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >index f9cd7e81c9..047f095fd5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >@@ -125,7 +125,7 @@ > > function update_columns_visibility(settings){ > let table = settings.oInstance.api(); >- table.columns().visible(true); >+ table.columns().visible(true, false); > table.columns().every(function(i){ > let is_empty = true; > let nodes = this.nodes(); >@@ -136,7 +136,7 @@ > } > }); > if ( is_empty ) { >- table.columns(i).visible(false); >+ table.columns(i).visible(false, false); > } > }); > } >-- >2.39.5
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 38391
:
174193
|
174235
|
174253
|
174268
|
174476
|
174596
|
174683
|
174718