From: David Reyna Date: Wed, 18 Mar 2015 03:13:09 +0000 (-0700) Subject: toaster: machine not searchable in all builds/projects X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a86ed8f95649c5f5a3a66984ce36978d93b0e01;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: machine not searchable in all builds/projects Add "build__machine" to searchable fields. [YOCTO #7334] Signed-off-by: David Reyna --- 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