Bugzilla – Attachment 178411 Details for
Bug 39169
Acquisitions homepage no longer automatically hides "active" and "budget period" columns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39169: Automatically hide "active" and "budget period" columns on Acquisitions home page
Bug-39169-Automatically-hide-active-and-budget-per.patch (text/plain), 2.52 KB, created by
Owen Leonard
on 2025-02-20 13:13:22 UTC
(
hide
)
Description:
Bug 39169: Automatically hide "active" and "budget period" columns on Acquisitions home page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-02-20 13:13:22 UTC
Size:
2.52 KB
patch
obsolete
>From ec2af9b0b485801c50dc754bb4e58e610c79cebd Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 20 Feb 2025 13:04:19 +0000 >Subject: [PATCH] Bug 39169: Automatically hide "active" and "budget period" > columns on Acquisitions home page > >This patch adds column configuration to the table settings for the >"Available funds" table on the Acquisitions home page. If a table has >column configration, hidden columns should be hidden in the >configuration rather than in the in-page table options. > >To test, apply the patch and restart all services. > >- Go to the Acquisitions home page >- In the "All available funds" section, you should not see "active" and > "budget period" columns. >- NOTE: You may have to clear you browser's Local Storage in order for > the change to show. >- If you go to Administration -> Table settings -> Acquisition -> > acq_acqui-home you should see that the first two columns are hidden by > default and cannot be toggled. >--- > admin/columns_settings.yml | 4 +++- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt | 1 - > 2 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index f17b17ce9f7..8377ba2f771 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -7,10 +7,12 @@ modules: > columnname: active > cannot_be_toggled: 1 > cannot_be_modified: 1 >+ is_hidden: 1 > - > columnname: budget_period_descriptions > cannot_be_toggled: 1 > cannot_be_modified: 1 >+ is_hidden: 1 > - > columnname: fund_code > - >@@ -2548,4 +2550,4 @@ modules: > - > columnname: actions > cannot_be_toggled: 1 >- cannot_be_modified: 1 >\ No newline at end of file >+ cannot_be_modified: 1 >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >index 76ac361d9b7..835c6f31441 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >@@ -244,7 +244,6 @@ > footer_column_sum( api, [ 6, 7, 8, 9 ] ); > }, > "columnDefs": [ >- { "visible": false, "targets": [ 0, 1 ] }, > { "orderable": false, "targets": ["_all"] } > ], > "ordering": true, >-- >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 39169
:
178369
|
178411
|
178412
|
178452