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