mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-14 23:08:07 -04:00
Changed order of templates activity page from alphabetical to desc count.
This commit is contained in:
@@ -101,7 +101,8 @@ def weekly(service_id):
|
||||
def aggregate_usage(template_statistics):
|
||||
return sorted(
|
||||
template_statistics,
|
||||
key=lambda template_statistic: template_statistic['template_name']
|
||||
key=lambda template_statistic: template_statistic['count'],
|
||||
reverse=True
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user