-
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Currently, if a MenuItem receives a URL with query params, since the url match is done against the request.path, there is no way for that item to be checked as active.
For example, if I configure this item:
Menu.add_item("main", MenuItem(_("Item"), reverse('app:my_view')+'?status=active', weight=10))
That item will not be marked as the active item. Maybe MenuItem() could receive an additional argument to be able to take into account the current queryparam for the match_url() method.
Metadata
Metadata
Assignees
Labels
No labels