summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-11-26 16:44:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:01:20 +0000
commitd82c54114709ae23a57149fc324960db152fa739 (patch)
tree890a391c81da6f01b906560207e3d8809979d757 /bitbake
parentbdf62414f2e0a53a39abcb97152a8d60d8f28cee (diff)
downloadpoky-d82c54114709ae23a57149fc324960db152fa739.tar.gz
bitbake: toaster: CustomImageRecipe add search_allowed_fields to this model
In order to search the model from the UI some fields must be nominated as searchable. (Bitbake rev: 2558729b4c248a2fa5a11d877bc42cb05a30602e) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 0ac94b9339..0174233498 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1238,6 +1238,7 @@ class ProjectLayer(models.Model):
1238 unique_together = (("project", "layercommit"),) 1238 unique_together = (("project", "layercommit"),)
1239 1239
1240class CustomImageRecipe(models.Model): 1240class CustomImageRecipe(models.Model):
1241 search_allowed_fields = ['name']
1241 name = models.CharField(max_length=100) 1242 name = models.CharField(max_length=100)
1242 base_recipe = models.ForeignKey(Recipe) 1243 base_recipe = models.ForeignKey(Recipe)
1243 packages = models.ManyToManyField(Package) 1244 packages = models.ManyToManyField(Package)