diff --git a/apps/navigation/templatetags/navigation_tags.py b/apps/navigation/templatetags/navigation_tags.py index b7f8f8550f..f3b989a511 100644 --- a/apps/navigation/templatetags/navigation_tags.py +++ b/apps/navigation/templatetags/navigation_tags.py @@ -38,7 +38,7 @@ class TopMenuNavigationNode(Node): menu_links[index]['active'] = True for children_view_regex in link.get('children_view_regex', []): - if re.compile(children_view_regex).match(children_view_regex): + if re.compile(children_view_regex).match(current_view): menu_links[index]['active'] = True context['menu_links'] = menu_links