From 534b068fb59fcb29ef3ab704c407b96bdf22fb7a Mon Sep 17 00:00:00 2001 From: saeed Date: Mon, 11 Mar 2024 10:39:43 +0200 Subject: [PATCH] chore: use select2 for groups --- Corals/core/User/DataTables/UsersDataTable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Corals/core/User/DataTables/UsersDataTable.php b/Corals/core/User/DataTables/UsersDataTable.php index ddbce21c..3e60fafe 100644 --- a/Corals/core/User/DataTables/UsersDataTable.php +++ b/Corals/core/User/DataTables/UsersDataTable.php @@ -3,8 +3,8 @@ namespace Corals\User\DataTables; use Corals\Foundation\DataTables\BaseDataTable; -use Corals\User\Facades\Users; use Corals\User\Facades\Roles; +use Corals\User\Facades\Users; use Corals\User\Models\User; use Corals\User\Transformers\UserTransformer; use Yajra\DataTables\EloquentDataTable; @@ -103,7 +103,7 @@ public function getFilters() 'groups.id' => [ 'title' => trans('User::module.group.title'), 'class' => 'col-md-2', - 'type' => 'select', + 'type' => 'select2', 'options' => Users::getGroupsList(), 'active' => true ],