mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
AC-1077 Sort playbooks alphabetically (case-insensitive).
This commit is contained in:
parent
ac0927f430
commit
0b050466c5
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user