WIP
This commit is contained in:
1 parent
fa9d9b68b5
commit
79b10b20ea
1 file changed
+1
-1
@@ -54,7 +54,7 @@ private function categories()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->shouldFilterByChannel()) {
|
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']);
|
return Category::query()->where('is_visible', true)->ordered()->get(['id', 'parent_id', 'name']);
|
||||||
|
|||||||
Reference in new issue
Block a user