Values are not sortable, so don’t show them as sortable

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-08-18 21:21:54 +01:00
parent 63f847f125
commit 1dcca14c37

View file

@ -21,7 +21,7 @@ class LabelPresenter extends Presenter
], [ ], [
'field' => 'name', 'field' => 'name',
'searchable' => true, 'searchable' => true,
'sortable' => true, 'sortable' => false,
'switchable' => true, 'switchable' => true,
'title' => trans('general.name'), 'title' => trans('general.name'),
'visible' => true, 'visible' => true,
@ -44,14 +44,14 @@ class LabelPresenter extends Presenter
], [ ], [
'field' => 'support_fields', 'field' => 'support_fields',
'searchable' => false, 'searchable' => false,
'sortable' => true, 'sortable' => false,
'switchable' => true, 'switchable' => true,
'title' => trans('admin/labels/table.support_fields'), 'title' => trans('admin/labels/table.support_fields'),
'visible' => true 'visible' => true
], [ ], [
'field' => 'support_asset_tag', 'field' => 'support_asset_tag',
'searchable' => false, 'searchable' => false,
'sortable' => true, 'sortable' => false,
'switchable' => true, 'switchable' => true,
'title' => trans('admin/labels/table.support_asset_tag'), 'title' => trans('admin/labels/table.support_asset_tag'),
'visible' => true, 'visible' => true,
@ -59,7 +59,7 @@ class LabelPresenter extends Presenter
], [ ], [
'field' => 'support_1d_barcode', 'field' => 'support_1d_barcode',
'searchable' => false, 'searchable' => false,
'sortable' => true, 'sortable' => false,
'switchable' => true, 'switchable' => true,
'title' => trans('admin/labels/table.support_1d_barcode'), 'title' => trans('admin/labels/table.support_1d_barcode'),
'visible' => true, 'visible' => true,
@ -67,7 +67,7 @@ class LabelPresenter extends Presenter
], [ ], [
'field' => 'support_2d_barcode', 'field' => 'support_2d_barcode',
'searchable' => false, 'searchable' => false,
'sortable' => true, 'sortable' => false,
'switchable' => true, 'switchable' => true,
'title' => trans('admin/labels/table.support_2d_barcode'), 'title' => trans('admin/labels/table.support_2d_barcode'),
'visible' => true, 'visible' => true,
@ -75,7 +75,7 @@ class LabelPresenter extends Presenter
], [ ], [
'field' => 'support_logo', 'field' => 'support_logo',
'searchable' => false, 'searchable' => false,
'sortable' => true, 'sortable' => false,
'switchable' => true, 'switchable' => true,
'title' => trans('admin/labels/table.support_logo'), 'title' => trans('admin/labels/table.support_logo'),
'visible' => true, 'visible' => true,
@ -83,7 +83,7 @@ class LabelPresenter extends Presenter
], [ ], [
'field' => 'support_title', 'field' => 'support_title',
'searchable' => false, 'searchable' => false,
'sortable' => true, 'sortable' => false,
'switchable' => true, 'switchable' => true,
'title' => trans('admin/labels/table.support_title'), 'title' => trans('admin/labels/table.support_title'),
'visible' => true, 'visible' => true,