[bitbake-devel] [PATCH 15/19] toaster: Fix Recipe sorting in tasks table
Alex DAMIAN
alexandru.damian at intel.com
Fri Mar 14 17:58:56 UTC 2014
From: Belen Barros Pena <belen.barros.pena at intel.com>
In the tasks table and the other tables derived from it
(Time, CPU usage and Disk I/O) sorting by Recipe was not
working correctly. This change fixes the problem by
specifying use of the recipe name to sort.
Signed-off-by: Belen Barros Pena <belen.barros.pena at intel.com>
---
lib/toaster/toastergui/views.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index bf7f2c8..ddeb992 100644
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -518,8 +518,8 @@ def tasks_common(request, build_id, variant):
tc_recipe={
'name':'Recipe',
'qhelp':'The name of the recipe to which each task applies',
- 'orderfield': _get_toggle_order(request, "recipe"),
- 'ordericon':_get_toggle_order_icon(request, "recipe"),
+ 'orderfield': _get_toggle_order(request, "recipe__name"),
+ 'ordericon':_get_toggle_order_icon(request, "recipe__name"),
}
tc_recipe_version={
'name':'Recipe version',
--
1.8.3.2
More information about the bitbake-devel
mailing list