diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tables.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tables.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index 822c7e586c..385d65895d 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py | |||
@@ -1080,8 +1080,9 @@ class BuildsTable(ToasterTable): | |||
1080 | """ | 1080 | """ |
1081 | queryset = self.get_builds() | 1081 | queryset = self.get_builds() |
1082 | 1082 | ||
1083 | # don't include in progress builds | 1083 | # Don't include in progress builds pr cancelled builds |
1084 | queryset = queryset.exclude(outcome=Build.IN_PROGRESS) | 1084 | queryset = queryset.exclude(Q(outcome=Build.IN_PROGRESS) | |
1085 | Q(outcome=Build.CANCELLED)) | ||
1085 | 1086 | ||
1086 | # sort | 1087 | # sort |
1087 | queryset = queryset.order_by(self.default_orderby) | 1088 | queryset = queryset.order_by(self.default_orderby) |