WIP
This commit is contained in:
@@ -54,7 +54,7 @@ class FilterController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->shouldFilterByChannel()) {
|
if ($this->shouldFilterByChannel()) {
|
||||||
return $this->filterByCategoryResource($this->request->channel_id, 'category');
|
return $this->categoriesFor($this->request->channel_id, 'category');
|
||||||
}
|
}
|
||||||
|
|
||||||
return Category::query()->where('is_visible', true)->ordered()->get(['id', 'parent_id', 'name']);
|
return Category::query()->where('is_visible', true)->ordered()->get(['id', 'parent_id', 'name']);
|
||||||
|
|||||||
Reference in New Issue
Block a user