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. Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
82707f469e
commit
6df6337080
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
cannot_be_modified: 1
|
||||
|
|
|
@ -244,7 +244,6 @@
|
|||
footer_column_sum( api, [ 6, 7, 8, 9 ] );
|
||||
},
|
||||
"columnDefs": [
|
||||
{ "visible": false, "targets": [ 0, 1 ] },
|
||||
{ "orderable": false, "targets": ["_all"] }
|
||||
],
|
||||
"ordering": true,
|
||||
|
|
Loading…
Reference in a new issue