diff options
author | David Reyna <David.Reyna@windriver.com> | 2015-03-17 20:13:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-25 12:39:52 +0000 |
commit | abcd9796cbe4d62268b87f8be420ab84ff5f8947 (patch) | |
tree | 094fb981f04b24229908ad2c26c880903f32c512 /bitbake | |
parent | 7cb05bf6beccc85cd4cbc4f9c9beed123a298498 (diff) | |
download | poky-abcd9796cbe4d62268b87f8be420ab84ff5f8947.tar.gz |
bitbake: toaster: machine not searchable in all builds/projects
Add "build__machine" to searchable fields.
[YOCTO #7334]
(Bitbake rev: 1a86ed8f95649c5f5a3a66984ce36978d93b0e01)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py index 02cfaf7086..bfb25ee10a 100644 --- a/bitbake/lib/toaster/bldcontrol/models.py +++ b/bitbake/lib/toaster/bldcontrol/models.py | |||
@@ -106,7 +106,7 @@ class BuildRequest(models.Model): | |||
106 | (REQ_ARCHIVE, "archive"), | 106 | (REQ_ARCHIVE, "archive"), |
107 | ) | 107 | ) |
108 | 108 | ||
109 | search_allowed_fields = ("brtarget__target", "build__project__name") | 109 | search_allowed_fields = ("brtarget__target", "build__project__name", "build__machine") |
110 | 110 | ||
111 | project = models.ForeignKey(Project) | 111 | project = models.ForeignKey(Project) |
112 | build = models.OneToOneField(Build, null = True) # TODO: toasterui should set this when Build is created | 112 | build = models.OneToOneField(Build, null = True) # TODO: toasterui should set this when Build is created |