-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.3, 2.8.1, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
48304-29
-
Easy
-
- Run unit tests, they cover this.
- Download the test.php file and browse to it both with this patch applied and without. Check that with the patch applied only the first node is found active.
Whlie working on a simple solution for MDL-26226 I found a minor bug with the moodle_url::compare function.
It doesn't consider anchor's when comparing URL's.
As such if you add several nodes with the same URL but differing anchors to the navigation they are all found to be active.
- blocks
-
MDL-26226 Moodle2 nav menu Topic Items should be links to Topic menu
-
- Closed
-