summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2014-03-18 21:18:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 11:17:34 +0000
commitf5d616ef3e5ae66c6e1aae758fae848171cd80cc (patch)
treef5ff98eecd5d685664df41957a98890fae08ccbc /bitbake
parent9e376dbed292410df2188d58ea5bc1f4cfaafa4e (diff)
downloadpoky-f5d616ef3e5ae66c6e1aae758fae848171cd80cc.tar.gz
bitbake: toaster: add search by section to all recipe page
Add the 'section' to the searchable columns list for the recipe model. [YOCTO #5993] (Bitbake rev: 560569d0e1e5de694bc19d09bdf98890af54a6d6) 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/orm/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index c5fe69b883..bb018a9819 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -261,7 +261,7 @@ class Package_File(models.Model):
261 size = models.IntegerField() 261 size = models.IntegerField()
262 262
263class Recipe(models.Model): 263class Recipe(models.Model):
264 search_allowed_fields = ['name', 'version', 'file_path', 'license', 'layer_version__layer__name', 'layer_version__branch', 'layer_version__commit', 'layer_version__layer__local_path'] 264 search_allowed_fields = ['name', 'version', 'file_path', 'section', 'license', 'layer_version__layer__name', 'layer_version__branch', 'layer_version__commit', 'layer_version__layer__local_path']
265 name = models.CharField(max_length=100, blank=True) 265 name = models.CharField(max_length=100, blank=True)
266 version = models.CharField(max_length=100, blank=True) 266 version = models.CharField(max_length=100, blank=True)
267 layer_version = models.ForeignKey('Layer_Version', related_name='recipe_layer_version') 267 layer_version = models.ForeignKey('Layer_Version', related_name='recipe_layer_version')