Closed adpe closed 3 years ago
PS: As I've noticed the problem exists only in a Moodle 3.9 environment, but not on a Moodle 3.11 environment.
Update as I saw, the classes are not set, maybe it has some relation to https://tracker.moodle.org/browse/MDL-58964?
Per example this line is triggered https://github.com/moodleuulm/moodle-local_boostnavigation/blob/MOODLE_39_STABLE/lib.php#L532, but the class is never appended to the navigation element.
Found the problem. As we've a child boost theme, we have overrided the flat_navigation.mustache
and there is missing the classes
variable, which was introduced here https://github.com/abias/moodle/compare/73f8c56dfc...MDL-58964-master#diff-cf8f15fc68e73bf102c37396ae9355703ff8e9262356de9171cc5b58b62aab4dR69.
Thanks anyway and I hope it will help others facing the same issue.
Greets Adrian
Hi @abias
We've noticed that the described and desired behaviour is not working. The
collapsecoursesectionscoursenodesession
is stored correctly. But whencollapsecoursesectionscoursenodedefault
is disabled it will delete the stored user preference which was per example to collapse the sections. For me this is a bug, or do I misunderstood something?But that's not all. In our case, when the user preference is set it has no effect on the collapsible status of the section. So it doesn't matter if
collapsecoursesectionscoursenodesession
is a0
or1
.Can you reproduce this error?
Greets Adrian