This commit is contained in:
vedatakd 2019-07-11 12:23:04 +03:00
parent 7a567681d7
commit 16f0e3b10f

View File

@ -18,8 +18,8 @@ class CategoryCollection extends EntryCollection
for ($i = 0; $i <= $counter; $i++) {
$data = CategoryModel::query()
->where('parent_category_id', $id)
->where('deleted_at', null)
->where('cats_category.parent_category_id', $id)
->where('cats_category.deleted_at', null)
->select('cats_category.id', 'cats_category.parent_category_id')
->first();
if ($data != "") {