mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 20:23:04 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bdf62414f2
commit
d82c541147
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user