summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/toastergui/tables.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index b51e1b4f49..91153099ea 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/lib/toaster/toastergui/tables.py
@@ -549,7 +549,10 @@ class ImageRecipesTable(RecipesTable):
549 def setup_queryset(self, *args, **kwargs): 549 def setup_queryset(self, *args, **kwargs):
550 super(ImageRecipesTable, self).setup_queryset(*args, **kwargs) 550 super(ImageRecipesTable, self).setup_queryset(*args, **kwargs)
551 551
552 self.queryset = self.queryset.filter(is_image=True) 552 custom_image_recipes = CustomImageRecipe.objects.filter(
553 project=kwargs['pid'])
554 self.queryset = self.queryset.filter(
555 Q(is_image=True) & ~Q(pk__in=custom_image_recipes))
553 self.queryset = self.queryset.order_by(self.default_orderby) 556 self.queryset = self.queryset.order_by(self.default_orderby)
554 557
555 558