From d58370fddfe355edd16fe178785c577d3254e363 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 10 Mar 2026 21:27:15 +0000 Subject: [PATCH] Bug 42063: Do not is_hidden to 0, let column settings do that To test: 1. Have a ClaimReturnedLostValue 2. Check out some items to a patron 3. Via Table settings try to hide the Check in and Return claims columns 4. They can't be hidden. 5. APPLY PATCH 6. Try again, this time you should be able to properly hide the columns --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index 90ebf4dbebe..beb63ce1e88 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -46,9 +46,6 @@ function LoadIssuesTable() { if (!AllowCirculate) { renew_column.is_hidden = 1; renew_column.force_visibility = 1; - } else { - renew_column.is_hidden = 0; - checkin_column.is_hidden = 0; } renew_column.force_visibility = 1; checkin_column.force_visibility = 1; @@ -58,8 +55,6 @@ function LoadIssuesTable() { ); if (!ClaimReturnedLostValue) { claims_returned_column.is_hidden = 1; - } else { - claims_returned_column.is_hidden = 0; } claims_returned_column.force_visibility = 1; @@ -68,8 +63,6 @@ function LoadIssuesTable() { ); if (!exports_enabled) { export_column.is_hidden = 1; - } else { - export_column.is_hidden = 0; } export_column.force_visibility = 1; -- 2.39.5