In OgMenuTrait::getOgMenuTree() the default menu tree parameters are used to retrieve the menu tree. However, this might cause the $parameters->expandedParents to be set, causing an incomplete tree to be loaded, with only the selected parents being expanded.
We should clear this parameter so that the full tree is returned.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2902590-5.patch | 868 bytes | pfrenssen |
Comments
Comment #2
pfrenssenComment #3
sardara commentedGood one! This was a tricky one.
Since we are emptying the parents, we can remove the line 126 that sorts them.
Comment #4
sardara commentedComment #5
pfrenssenGood catch! Here's a better version.
Comment #6
sardara commentedGood, straight to RTBC.
Comment #7
pfrenssenAwesome, thanks for the review!