From d82c54114709ae23a57149fc324960db152fa739 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Thu, 26 Nov 2015 16:44:32 +0000 Subject: 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 Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/lib/toaster/orm/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake') 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): unique_together = (("project", "layercommit"),) class CustomImageRecipe(models.Model): + search_allowed_fields = ['name'] name = models.CharField(max_length=100) base_recipe = models.ForeignKey(Recipe) packages = models.ManyToManyField(Package) -- cgit v1.2.3-54-g00ecf