fix filter ranges index

This commit is contained in:
Alexis Gousseau 2023-01-09 09:27:47 +01:00
parent d194644ade
commit 409137a6d3

View file

@ -34,7 +34,7 @@
$routeName = request()->route()->getName();
$noOrder = Session::get("$routeName.sort_col") !== 'order' and (Session::has("$routeName.sort_col") or Session::has("$routeName.sort_way"));
$noOrder = Session::get("$routeName.sort_col") !== '' and (Session::has("$routeName.sort_col") or Session::has("$routeName.sort_way"));
$cols = ['title' => __('Titre'), 'color' => __('Couleur'), 'image' => __('Image'),'order' => __('Ordre'), 'updated_at' => __('Mis à jour')];
$cols = ['label' => __('Label'), 'color' => __('Couleur'), 'picture' => __('Image'), 'order' => __('Ordre'), 'updated_at' => __('Mis à jour')];
@endphp
@include('bo.modules.tableColSorter', [ 'cols' => $cols, 'mobileHide' => ['status']])
</thead>