]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toastergui: do not show in-progress builds in the table
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Tue, 18 Aug 2015 16:28:59 +0000 (17:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Aug 2015 17:04:15 +0000 (18:04 +0100)
This patch fixes the all-builds table as not to show
in-progress builds.

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>
lib/toaster/toastergui/views.py

index 586a69c31487e71831c65b308fbfa3bf0540d2ea..7ebcfc1150ca07188efeac160c49fca0bc8dbbea 100755 (executable)
@@ -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)