summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')