From 71518bd38c726340c6f3f36471b1aa4bcdb059bd Mon Sep 17 00:00:00 2001 From: Jana Cupova Date: Sep 13 2022 08:58:49 +0000 Subject: Fix arch filter in list of hosts webUI Fixes: https://pagure.io/koji/issue/3491 --- diff --git a/www/kojiweb/index.py b/www/kojiweb/index.py index e3ec3b3..7e4ad1d 100644 --- a/www/kojiweb/index.py +++ b/www/kojiweb/index.py @@ -1674,7 +1674,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