Skip to content

Commit

Permalink
Fix user role filter when using the standard permissions setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ifox committed Feb 4, 2024
1 parent 51ffa25 commit 6e89323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Admin/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1937,7 +1937,7 @@ public function filters(): TableFilters
BasicFilter::make()
->queryString($queryString)
->options($value)
->apply(function (Builder $builder, int $value) use ($filterKey) {
->apply(function (Builder $builder, mixed $value) use ($filterKey) {
$builder->where($filterKey, '=', $value);
})
);
Expand Down

0 comments on commit 6e89323

Please sign in to comment.