mirror of
https://github.com/ansible/awx.git
synced 2026-02-12 15:14:45 -03:30
AC-1077 Sort playbooks alphabetically (case-insensitive).
This commit is contained in:
@@ -195,7 +195,7 @@ class ProjectOptions(models.Model):
|
||||
if 'tasks' in playbook.split(os.sep):
|
||||
continue
|
||||
results.append(playbook)
|
||||
return results
|
||||
return sorted(results, key=lambda x: unicode(x).lower())
|
||||
|
||||
|
||||
class Project(UnifiedJobTemplate, ProjectOptions):
|
||||
|
||||
Reference in New Issue
Block a user