summaryrefslogtreecommitdiffstats
path: root/lib/toaster/orm
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2014-02-06 21:06:27 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-17 15:38:26 +0000
commit92b71c8e6cfcd656866fbf9bd00bf184b223c5fa (patch)
tree0c94414be117242cae48d6ff3ec8b0a1ecbe0500 /lib/toaster/orm
parentd56633c00f6730c053f355570211eba1bdc41b62 (diff)
downloadbitbake-contrib-92b71c8e6cfcd656866fbf9bd00bf184b223c5fa.tar.gz
toaster: implement recipe summary page
Implement the updated design for the recipe summay page, with pop-up boxes for the dependecies and layer commit ids, column filtering, and column sorting support. [YOCTO #4294] Signed-off-by: David Reyna <David.Reyna@windriver.com>
Diffstat (limited to 'lib/toaster/orm')
-rw-r--r--lib/toaster/orm/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/toaster/orm/models.py b/lib/toaster/orm/models.py
index 113631def..1803de60e 100644
--- a/lib/toaster/orm/models.py
+++ b/lib/toaster/orm/models.py
@@ -209,6 +209,7 @@ class Package_File(models.Model):
size = models.IntegerField()
class Recipe(models.Model):
+ search_allowed_fields = ['name', 'version', 'file_path', 'license', 'layer_version__layer__name', 'layer_version__branch', 'layer_version__commit', 'layer_version__layer__local_path']
name = models.CharField(max_length=100, blank=True)
version = models.CharField(max_length=100, blank=True)
layer_version = models.ForeignKey('Layer_Version', related_name='recipe_layer_version')