mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
withType course
This commit is contained in:
@@ -40,6 +40,7 @@ class CourseTable extends DataTableComponent
|
|||||||
MultiSelectFilter::make('Tag')
|
MultiSelectFilter::make('Tag')
|
||||||
->options(
|
->options(
|
||||||
Tag::query()
|
Tag::query()
|
||||||
|
->withType('course')
|
||||||
->get()
|
->get()
|
||||||
->mapWithKeys(fn($item, $key) => [$item->name => $item->name])
|
->mapWithKeys(fn($item, $key) => [$item->name => $item->name])
|
||||||
->toArray()
|
->toArray()
|
||||||
|
|||||||
Reference in New Issue
Block a user