Skip to content

Commit

Permalink
Fix duplicated filters, actions & bulk actions
Browse files Browse the repository at this point in the history
  • Loading branch information
miguilimzero committed Aug 15, 2023
1 parent c29de36 commit 2fa3938
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AutoResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ public static function table(Table $table): Table

return $finalTable
->columns($tableSchema)
->filters([...$finalTable->getFilters(), ...$defaultFilters])
->actions([...$finalTable->getActions(), ...$defaultActions])
->bulkActions([...$finalTable->getBulkActions(), ...$defaultBulkActions]);
->filters($defaultFilters)
->actions($defaultActions)
->bulkActions($defaultBulkActions);
}

public static function getPages(): array
Expand Down

0 comments on commit 2fa3938

Please sign in to comment.