Skip to content

Commit

Permalink
Update CategoryPresenter.php
Browse files Browse the repository at this point in the history
Fix #12153
  • Loading branch information
Robert-Azelis authored Nov 23, 2022
1 parent e426846 commit 20ad4fb
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions app/Presenters/CategoryPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,39 +70,33 @@ public static function dataTableLayout()
'visible' => true,
'formatter' => 'trueFalseFormatter',
], [
'field' => 'actions',
'searchable' => false,
'sortable' => false,
'switchable' => false,
'title' => trans('table.actions'),
],[
"field" => "use_default_eula",
"searchable" => false,
"sortable" => true,
"title" => trans('admin/categories/general.use_default_eula_column'),
'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',
],
];

Expand Down

0 comments on commit 20ad4fb

Please sign in to comment.