Skip to content

Commit

Permalink
Merge pull request #24 from coralsio/user-select2-filters
Browse files Browse the repository at this point in the history
chore: use select2 for groups
  • Loading branch information
saeed-corals authored Mar 12, 2024
2 parents ee6499f + 534b068 commit 2a31391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Corals/core/User/DataTables/UsersDataTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
],
Expand Down

0 comments on commit 2a31391

Please sign in to comment.