Bugzilla – Attachment 195104 Details for
Bug 42063
Cannot hide checkin and claims_returned column from issue table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 42063: Do not is_hidden to 0, let column settings do that
Bug-42063-Do-not-ishidden-to-0-let-column-settings.patch (text/plain), 1.63 KB, created by
Lucas Gass (lukeg)
on 2026-03-10 21:28:16 UTC
(
hide
)
Description:
Bug 42063: Do not is_hidden to 0, let column settings do that
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-03-10 21:28:16 UTC
Size:
1.63 KB
patch
obsolete
>From d58370fddfe355edd16fe178785c577d3254e363 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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
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 42063
: 195104