diff --git a/runbot/controllers/frontend.py b/runbot/controllers/frontend.py index 557eb3b6..6954afd7 100644 --- a/runbot/controllers/frontend.py +++ b/runbot/controllers/frontend.py @@ -117,7 +117,7 @@ class Runbot(Controller): 'pending_total': pending_count, 'pending_level': level, 'scheduled_count': scheduled_count, - 'hosts_data': request.env['runbot.host'].search([]), + 'hosts_data': request.env['runbot.host'].search([('assigned_only', '=', False)]), } if project: domain = [('last_batch', '!=', False), ('project_id', '=', project.id), ('no_build', '=', False)]