From 2a8b3b86fe1d5b8797f740c470a4fe5b69146bf4 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 31 Mar 2015 14:59:28 +0100 Subject: Revert "toaster: machine not searchable in all builds/projects" This reverts commit 1a86ed8f95649c5f5a3a66984ce36978d93b0e01. Bug [YOCTO #7334] was incompletly fixed, and the proper fix is not straightfoward. Consequently we revert the partial fix, as a incomplete fix is worse than no fix. Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- 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 bfb25ee10..02cfaf708 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", "build__machine") + search_allowed_fields = ("brtarget__target", "build__project__name") project = models.ForeignKey(Project) build = models.OneToOneField(Build, null = True) # TODO: toasterui should set this when Build is created -- cgit 1.2.3-korg