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