This commit is contained in:
Mekan1206
2026-05-04 13:41:21 +05:00
parent fa9d9b68b5
commit 79b10b20ea

View File

@@ -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']);