diff --git a/mayan/apps/navigation/classes.py b/mayan/apps/navigation/classes.py index 1904cce7c2..9e314a93fd 100644 --- a/mayan/apps/navigation/classes.py +++ b/mayan/apps/navigation/classes.py @@ -194,6 +194,8 @@ class Link(object): if self.keep_query: resolved_link.url = '%s?%s' % (urlquote(resolved_link.url), urlencode(parsed_query_string, doseq=True)) + resolved_link.active = self.view == current_view + return resolved_link