Skip to content

Commit

Permalink
Merge pull request #281 from CybercentreCanada/hotfix/discover
Browse files Browse the repository at this point in the history
Sort apps
  • Loading branch information
cccs-sgaron authored Sep 24, 2021
2 parents a3f9532 + fd9685c commit 0d9b0c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assemblyline_ui/helper/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ def get_apps_list():
except Exception:
logger.exception(f'Failed to get apps from discover URL: {config.ui.discover_url}')

apps['apps'] = sorted(apps['apps'], key=lambda k: k['name'])
return apps

0 comments on commit 0d9b0c1

Please sign in to comment.