aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-03-31 14:59:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-31 16:25:32 +0100
commit3d838ddc2f1f92e2dd940e43c3467f6ba4ba043d (patch)
treeead03137c4ecba2c1a8b4bf2a0cb8081b7ec44c2
parente5a44e1096ba62b50bed4eee191f109c4f2c4105 (diff)
downloadbitbake-3d838ddc2f1f92e2dd940e43c3467f6ba4ba043d.tar.gz
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 <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/toaster/bldcontrol/models.py2
1 files changed, 1 insertions, 1 deletions
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