bitbake: toastergui: do not show in-progress builds in the table

This patch fixes the all-builds table as not to show
in-progress builds.

(Bitbake rev: 60fdc834d386dbace0a158123afd68df3ffbff90)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexandru DAMIAN
2015-08-18 17:28:59 +01:00
committed by Richard Purdie
parent 25d4a35b03
commit ab13498eb9

View File

@@ -1892,7 +1892,7 @@ if True:
# be able to display something. 'count' and 'page' are mandatory for all views
# that use paginators.
queryset = Build.objects.filter(outcome__lte = Build.IN_PROGRESS)
queryset = Build.objects.exclude(outcome = Build.IN_PROGRESS)
context, pagesize, orderby = _build_list_helper(request, queryset)