From 3dfa3854d8ed3ebcd1c8716278fbca8f5a1dc858 Mon Sep 17 00:00:00 2001 From: Jana Cupova Date: Tue, 13 Sep 2022 10:58:49 +0200 Subject: [PATCH] Fix arch filter in list of hosts webUI Fixes: https://pagure.io/koji/issue/3491 --- www/kojiweb/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/kojiweb/index.py b/www/kojiweb/index.py index 03f6d245..bdb38418 100644 --- a/www/kojiweb/index.py +++ b/www/kojiweb/index.py @@ -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