diff --git a/HISTORY.rst b/HISTORY.rst index e5e4821622..c99b4eff93 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -105,6 +105,7 @@ document. - After queuing a chart for update, the view will now redirect to the same chart. +- The multiple document action dropdown is now sorted alphabetically. 3.0.3 (2018-08-17) ================== diff --git a/mayan/apps/navigation/templatetags/navigation_tags.py b/mayan/apps/navigation/templatetags/navigation_tags.py index 13ca30c523..d77aada828 100644 --- a/mayan/apps/navigation/templatetags/navigation_tags.py +++ b/mayan/apps/navigation/templatetags/navigation_tags.py @@ -28,7 +28,7 @@ def get_menus_links(context, names, source=None): @register.simple_tag(takes_context=True) def get_multi_item_links_form(context, object_list): actions = [] - for link_set in Menu.get('multi item menu').resolve(context=context, source=object_list[0]): + for link_set in Menu.get('multi item menu').resolve(context=context, source=object_list[0], sort_results=True): for link in link_set: actions.append((link.url, link.text))