core icon indicating copy to clipboard operation
core copied to clipboard

NavTool 'active' does not check complete path but checks 'contains'

Open Xander-Steinmann opened this issue 11 years ago • 1 comments

When using the $navTool to generate a menu the active menu items are not always correct. This happens when 2 paths are almost the same, for instance: /about-us/index /about-us/index2

In this case, when opening the index2 page both index and index2 are 'active' according to the navTool. This can be reproduced on the demo site by renaming the /about-us/what-we-do page to /about-us/index2 and opening the about-us/index2 page.

image

Xander-Steinmann avatar Sep 29 '15 09:09 Xander-Steinmann

This seems to be fixed in 3.5

Xander-Steinmann avatar May 26 '16 07:05 Xander-Steinmann