Skip to content

Commit 04b7627

Browse files
committed
Refactor filters from dropdown to pills
1 parent c10b001 commit 04b7627

File tree

4 files changed

+205
-150
lines changed

4 files changed

+205
-150
lines changed

app/Http/Controllers/DashboardController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ public function index(Request $request): Response
3131
}),
3232
AllowedFilter::partial('_name', 'name'),
3333
AllowedFilter::operator('name', FilterOperator::DYNAMIC),
34+
AllowedFilter::partial('_email', 'email'),
35+
AllowedFilter::operator('email', FilterOperator::DYNAMIC),
3436
])
3537
->paginate()
3638
->withQueryString();

0 commit comments

Comments
 (0)