From 993be2571c1083f984afded95fd95827a95e7530 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 28 Jan 2025 01:14:47 +0000 Subject: [PATCH] Bug 38978: [24.05.x] Don't show every column initially To test: 1. In 24.05.x, hide some columns via Table settings. 2. The columns do not hide properly, you cannot hide any columns via Table settings on this table. 3. APPLY PATCH 4. Check hiding columns now, it should work. 5. Make sure that columns with no data at all are still hidden. 6. Enable 'SeparateHoldings' and make sure you can also properly hide columns in the Other holdings table. Signed-off-by: Imani Thomas --- .../en/includes/html_helpers/tables/items/catalogue_detail.inc | 1 - 1 file changed, 1 deletion(-) 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 714e60282d..091a46e600 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 @@ -122,7 +122,6 @@ function update_columns_visibility(settings){ let table = settings.oInstance.api(); - table.columns().visible(true); table.columns().every(function(i){ let is_empty = true; let nodes = this.nodes(); -- 2.39.5