From 4ab29fc58f3c17d1be4d5381a25c6872c70ee55d Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Fri, 11 Apr 2014 17:32:30 +0100 Subject: bitbake: bitbake: toaster: Fix total number of tasks in build dashboard The total number of tasks in the build dashboard was counting _setscene tasks, which are not exposed by Toaster as separate tasks. This patch makes sure that _setscene tasks are not counted when calculating that number. [YOCTO #6145] (Bitbake rev: a429278c70b55f7c11a9ef3d5af28cf88850a227) Signed-off-by: Belen Barros Pena Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/builddashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index fa4b194eb9..a01ef3d93b 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html @@ -125,7 +125,7 @@

Tasks

-
Total number of tasks
{{build.task_build.all.count}}
+
Total number of tasks
{% query build.task_build order__gt=0 as alltasks %}{{alltasks.count}}
Tasks executed -- cgit v1.2.3-54-g00ecf