From 7436d45e54e44ef46e6ec609fa48aa02cce6067c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 13 Nov 2024 16:58:50 +0100 Subject: [PATCH] Bug 38391: Do not redraw on adjusting col vis in drawcallback --- .../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 f9cd7e81c99..047f095fd55 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.34.1