From adfff42ec771bfa118b8b6b23e99f9ac4d792861 Mon Sep 17 00:00:00 2001 From: Hammat Wele Date: Thu, 15 Jan 2026 03:36:12 +0000 Subject: [PATCH] Bug 41604: Impossible to hide Checkin column in issues-table in circ/circulation.pl Bug 41314 caused a regression, making it impossible to hide the Checkin column in the issues table in the patron's circulation page. To recreate: 1. Hide the checkin column by default in circulation issues-table 1.1. Go to Administration > Table settings > Circulation tab > Jump to page : circulation > Table id: issues-table 1.2. Check 'Is hidden by default' for 'checkin' 1.3. Click 'Save' 2. logout and login 3. Checkout an item to a patron 3.1. In the search bar, set to Checkout, search for Henry 3.2. In the checkout field, enter the barcode 39999000010114 and press enter --> In the table of issues, Checkin column is visible, it should be hidden by default 4. Apply the patch 5. Repeat step 2, 3 --> In the table of issues, Checkin column is not visible --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index ecf8409c02a..7fbf09cdd2e 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -39,19 +39,14 @@ function LoadIssuesTable() { let renew_column = table_settings_issues_table.columns.find( c => c.columnname == "renew" ); - let checkin_column = table_settings_issues_table.columns.find( - c => c.columnname == "checkin" - ); 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; let claims_returned_column = table_settings_issues_table.columns.find( c => c.columnname == "claims_returned" -- 2.34.1