Fixes #13609 - disallow sorting on age

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-09-15 15:25:52 +01:00
parent 131ccaa5b9
commit 0b562d2f55

View file

@ -142,8 +142,8 @@ class AssetPresenter extends Presenter
'formatter' => 'dateDisplayFormatter', 'formatter' => 'dateDisplayFormatter',
], [ ], [
'field' => 'age', 'field' => 'age',
'searchable' => true, 'searchable' => false,
'sortable' => true, 'sortable' => false,
'visible' => false, 'visible' => false,
'title' => trans('general.age'), 'title' => trans('general.age'),
], [ ], [