summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2015-03-17 20:13:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-24 22:54:36 +0000
commit1a86ed8f95649c5f5a3a66984ce36978d93b0e01 (patch)
treec8ffe7f7c37c1d18f0700f18a6f5f8faa5fcf5b6
parent994b19ef7f633b8d463efa7022f2e17cd483a387 (diff)
downloadbitbake-1a86ed8f95649c5f5a3a66984ce36978d93b0e01.tar.gz
toaster: machine not searchable in all builds/projects
Add "build__machine" to searchable fields. [YOCTO #7334] Signed-off-by: David Reyna <David.Reyna@windriver.com>
-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 02cfaf708..bfb25ee10 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