web: order methods by name in select box
Fixes: https://pagure.io/koji/issue/2556
This commit is contained in:
parent
97c4084d70
commit
6854803aec
1 changed files with 1 additions and 1 deletions
|
|
@ -511,7 +511,7 @@ def tasks(environ, owner=None, state='active', view='tree', method='all', hostID
|
|||
else:
|
||||
method = 'all'
|
||||
values['method'] = method
|
||||
values['alltasks'] = _TASKS + environ['koji.options']['Tasks']
|
||||
values['alltasks'] = sorted(_TASKS + environ['koji.options']['Tasks'])
|
||||
|
||||
treeEnabled = True
|
||||
if hostID or (method not in ['all'] + _PARENT_TASKS + environ['koji.options']['ParentTasks']):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue