Browse Source

Correftif bug

reduction
Fab 4 years ago
parent
commit
9ae4fb7877
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      ShopBundle/Repository/ProductCategoryRepository.php

+ 1
- 3
ShopBundle/Repository/ProductCategoryRepository.php View File

@@ -34,9 +34,7 @@ class ProductCategoryRepository extends BaseRepository implements DefaultReposit
->andWhere('e.parent is NULL')

->andWhere('e.status = 1')
->orderBy('e.position', 'ASC')
->getQuery()
->getResult();
->orderBy('e.position', 'ASC');

return $query->getQuery()->getResult();


Loading…
Cancel
Save