fix
This commit is contained in:
@@ -19,6 +19,11 @@ class TagGroups
|
||||
return TagGroup::get()->SortBy('name')->pluck('name', 'id')->toArray();
|
||||
}
|
||||
|
||||
public static function getWithTagsAndCountOffers()
|
||||
{
|
||||
return TagGroup::with('tags')->withCount(['tags.articles'])->get()->toArray();
|
||||
}
|
||||
|
||||
public static function getTreeTags()
|
||||
{
|
||||
$items = TagGroup::with('tags')->get();
|
||||
|
||||
Reference in New Issue
Block a user