From 1a86ed8f95649c5f5a3a66984ce36978d93b0e01 Mon Sep 17 00:00:00 2001 From: David Reyna Date: Tue, 17 Mar 2015 20:13:09 -0700 Subject: [PATCH] toaster: machine not searchable in all builds/projects Add "build__machine" to searchable fields. [YOCTO #7334] Signed-off-by: David Reyna --- lib/toaster/bldcontrol/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/toaster/bldcontrol/models.py b/lib/toaster/bldcontrol/models.py index 02cfaf70866..bfb25ee10a6 100644 --- a/lib/toaster/bldcontrol/models.py +++ b/lib/toaster/bldcontrol/models.py @@ -106,7 +106,7 @@ class BuildRequest(models.Model): (REQ_ARCHIVE, "archive"), ) - search_allowed_fields = ("brtarget__target", "build__project__name") + search_allowed_fields = ("brtarget__target", "build__project__name", "build__machine") project = models.ForeignKey(Project) build = models.OneToOneField(Build, null = True) # TODO: toasterui should set this when Build is created -- 2.47.3