mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
by id filter
This commit is contained in:
@@ -37,7 +37,7 @@ class MeetupEventTable extends DataTableComponent
|
||||
public function filters(): array
|
||||
{
|
||||
return [
|
||||
TextFilter::make('Meetup-Event by ID', 'id')
|
||||
TextFilter::make('Meetup-Event by ID', 'byid')
|
||||
->hiddenFromMenus()
|
||||
->filter(function (Builder $builder, string $value) {
|
||||
$builder->whereIn('meetup_events.id', str($value)->explode(','));
|
||||
|
||||
Reference in New Issue
Block a user