Fix arch filter in list of hosts webUI
Fixes: https://pagure.io/koji/issue/3491
This commit is contained in:
parent
d335ac05ae
commit
3dfa3854d8
1 changed files with 1 additions and 1 deletions
|
|
@ -1685,7 +1685,7 @@ def hosts(environ, state='enabled', start=None, order='name', ready='all', chann
|
|||
if arch != 'all':
|
||||
arch = _validate_arch(arch)
|
||||
if arch:
|
||||
hosts = [x for x in hosts if arch in x['arches']]
|
||||
hosts = [x for x in hosts if arch in x['arches'].split(' ')]
|
||||
else:
|
||||
arch = 'all'
|
||||
values['arch'] = arch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue