filters updated

This commit is contained in:
Benjamin Takats
2022-12-05 20:24:16 +01:00
parent e921132504
commit fd2dee5590
12 changed files with 90 additions and 11 deletions

View File

@@ -8,4 +8,9 @@ class Tag extends \Spatie\Tags\Tag
{
return $this->morphedByMany(Course::class, 'taggable');
}
public function libraryItems()
{
return $this->morphedByMany(LibraryItem::class, 'taggable');
}
}