From a3ccb730cb9a3509a2ddf62bb384a9181b281bdc Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Fri, 21 Feb 2014 07:35:58 +0000 Subject: bitbake: toaster: Fix Recipe sorting in tasks table 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. (Bitbake rev: fa24c857e6f5b3c56f89a2a85dea6ad271f82c01) Signed-off-by: Belen Barros Pena Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster') diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index bf7f2c83ea..ddeb992ff1 100644 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/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', -- cgit v1.2.3-54-g00ecf