Merge pull request #13610 from snipe/fixes/disallow_sorting_on_age

Fixes #13609 - disallow sorting on age
This commit is contained in:
snipe 2023-09-15 15:26:55 +01:00 committed by GitHub
commit eb406547c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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