Browse Source

[Frontend] Menu : positioin catégories enfant

feature/export_comptable
Guillaume 4 years ago
parent
commit
508737cd3c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ShopBundle/Model/ProductCategory.php

+ 1
- 0
ShopBundle/Model/ProductCategory.php View File

@@ -29,6 +29,7 @@ abstract class ProductCategory extends AbstractDocumentEntity implements TreeInt

/**
* @ORM\OneToMany(targetEntity="Lc\ShopBundle\Context\ProductCategoryInterface", mappedBy="parent" , fetch="EAGER"))
* @ORM\OrderBy({"position" = "ASC"})
*/
protected $childrens;


Loading…
Cancel
Save