summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/models.py
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2015-02-26 21:42:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-27 07:36:08 +0000
commit8c476c27bb532b33004cba363bdf5794bba3a6f7 (patch)
treea95b3b6e89d70be7490d39aa9d15c20096463de0 /bitbake/lib/toaster/bldcontrol/models.py
parent6768a3069da45b3512601d8361bf64f06ee11e6f (diff)
downloadpoky-8c476c27bb532b33004cba363bdf5794bba3a6f7.tar.gz
bitbake: toaster: all projects data and sorts
Implement the 'last build' data methods, enhance variable display, add empty page and empty sort support. [YOCTO #6682] (Bitbake rev: cc6ca17e80844ecb4a777276d5f5177ebbcd93f9) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/models.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py
index 25d94cd3fe..02cfaf7086 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",) 109 search_allowed_fields = ("brtarget__target", "build__project__name")
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