[FIX] runbot: hide testing builds from stats views.

This commit is contained in:
Xavier-Do 2021-04-12 11:28:07 +02:00 committed by Christophe Monniez
parent 84d9425bdc
commit 8e53dbd0db

View File

@ -426,7 +426,7 @@ class Runbot(Controller):
return request.not_found() return request.not_found()
builds_domain = [ builds_domain = [
('global_result', '=', 'ok'), ('slot_ids.batch_id.bundle_id', '=', bundle_id), ('params_id.trigger_id', '=', trigger.id), ('global_state', 'in', ('running', 'done')), ('global_result', '=', 'ok'), ('slot_ids.batch_id.bundle_id', '=', bundle_id), ('params_id.trigger_id', '=', trigger.id),
] ]
if max_build_id: if max_build_id: