The multiple document action dropdown is now sorted alphabetically.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -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)
|
||||
==================
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user