- Issue created by @earthday47
- Status changed to Needs review
over 1 year ago 3:20pm 28 April 2023 - πΊπΈUnited States earthday47 New York
I determined that this is an issue with how the previous links are checked. In menuPagerGetNavigation() and menuPagerFlattenTree() it's returning the full menu tree, which means checking previous will only check the previous item in the flattened tree. Which in my scenario would be "Grandchild 3".
So here's a patch! It pulls the menu restricting by the parent as the root and max depth = 1, meaning the flattened tree will only contain siblings. Works good on my local environment/scenario.
- First commit to issue fork.
- @balajidharma opened merge request.
-
balajidharma β
committed 4e668a5d on 3.x
Issue #3357153: Previous not working as expected when restricting to...
-
balajidharma β
committed 4e668a5d on 3.x
- @balajidharma opened merge request.
- Status changed to Fixed
over 1 year ago 1:12pm 4 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.