From 23be10f75b1bb56eccfb416ada5906d4de055a9a Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Fri, 8 Nov 2024 17:21:22 +0100 Subject: [PATCH] [IMP] runbot: add a search panel on build error list view --- runbot/models/build_error.py | 2 +- runbot/views/build_error_views.xml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/runbot/models/build_error.py b/runbot/models/build_error.py index d3acf2e4..5489f8da 100644 --- a/runbot/models/build_error.py +++ b/runbot/models/build_error.py @@ -99,7 +99,7 @@ class BuildError(models.Model): build_ids = fields.Many2many('runbot.build', compute=_compute_related_error_content_ids('build_ids')) bundle_ids = fields.Many2many('runbot.bundle', compute=_compute_related_error_content_ids('bundle_ids')) version_ids = fields.Many2many('runbot.version', string='Versions', compute=_compute_related_error_content_ids('version_ids')) - trigger_ids = fields.Many2many('runbot.trigger', string='Triggers', compute=_compute_related_error_content_ids('trigger_ids')) + trigger_ids = fields.Many2many('runbot.trigger', string='Triggers', compute=_compute_related_error_content_ids('trigger_ids'), store=True) tag_ids = fields.Many2many('runbot.build.error.tag', string='Tags', compute=_compute_related_error_content_ids('tag_ids')) random = fields.Boolean('Random', compute="_compute_random", store=True) diff --git a/runbot/views/build_error_views.xml b/runbot/views/build_error_views.xml index 5439292a..5a3a8bf2 100644 --- a/runbot/views/build_error_views.xml +++ b/runbot/views/build_error_views.xml @@ -291,6 +291,11 @@ + + + + +