Skip to content

Commit

Permalink
Feature - Change status filter to multiple select on orders (#1665)
Browse files Browse the repository at this point in the history
Updates the status filter to be multi select.
  • Loading branch information
alecritson authored Mar 20, 2024
1 parent a4669e2 commit 38479aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/admin/src/Filament/Resources/OrderResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ public static function getTableFilters(): array
Tables\Filters\SelectFilter::make('status')
->label(__('lunarpanel::order.table.status.label'))
->options(collect(config('lunar.orders.statuses', []))
->mapWithKeys(fn ($data, $status) => [$status => $data['label']])),
->mapWithKeys(fn ($data, $status) => [$status => $data['label']]))
->multiple(),
Tables\Filters\Filter::make('placed_at')

->form([
Expand Down

0 comments on commit 38479aa

Please sign in to comment.