Merge pull request #12164 from Robert-Azelis/patch-7

Fix categories view columns matching
This commit is contained in:
snipe 2022-11-23 18:47:02 -08:00 committed by GitHub
commit 3ef578eb56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,12 +69,6 @@ class CategoryPresenter extends Presenter
'title' => trans('admin/categories/table.require_acceptance'),
'visible' => true,
'formatter' => 'trueFalseFormatter',
], [
'field' => 'actions',
'searchable' => false,
'sortable' => false,
'switchable' => false,
'title' => trans('table.actions'),
], [
"field" => "use_default_eula",
"searchable" => false,
@ -83,26 +77,26 @@ class CategoryPresenter extends Presenter
'visible' => true,
"formatter" => 'trueFalseFormatter',
], [
"field" => "require_acceptance",
"searchable" => false,
"sortable" => true,
'formatter' => 'categoriesActionsFormatter',
],
[
'field' => 'created_at',
'searchable' => true,
'sortable' => true,
'visible' => false,
'title' => trans('general.created_at'),
'formatter' => 'dateDisplayFormatter',
],
[
], [
'field' => 'updated_at',
'searchable' => true,
'sortable' => true,
'visible' => false,
'title' => trans('general.updated_at'),
'formatter' => 'dateDisplayFormatter',
], [
'field' => 'actions',
'searchable' => false,
'sortable' => false,
'switchable' => false,
'title' => trans('table.actions'),
'formatter' => 'categoriesActionsFormatter',
],
];