Skip to content

Commit

Permalink
[MenuBundle] Fix menu item sorting issue with multiple menus (#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
acrobat authored and sandergo90 committed Aug 10, 2018
1 parent 073a27c commit 42c70af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"white-october/pagerfanta-bundle": "~1.0",
"kunstmaan/google-api-custom": "~1.0",
"ddeboer/data-import-bundle": "~0.1",
"gedmo/doctrine-extensions": "~2.3",
"gedmo/doctrine-extensions": "^2.4.34",
"doctrine/doctrine-fixtures-bundle": "~2.2",
"stof/doctrine-extensions-bundle": "~1.1",
"liip/imagine-bundle": "~1.7",
Expand Down
1 change: 1 addition & 0 deletions src/Kunstmaan/MenuBundle/Entity/BaseMenuItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ abstract class BaseMenuItem extends AbstractEntity
* @ORM\ManyToOne(targetEntity="Kunstmaan\MenuBundle\Entity\Menu", inversedBy="items")
* @ORM\JoinColumn(name="menu_id", referencedColumnName="id")
* @Assert\NotNull()
* @Gedmo\TreeRoot(identifierMethod="getMenu")
*/
protected $menu;

Expand Down

0 comments on commit 42c70af

Please sign in to comment.