mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2026-01-26 10:23:17 +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