From: Belen Barros Pena Date: Fri, 21 Feb 2014 07:35:58 +0000 (+0000) Subject: bitbake: toaster: Fix Recipe sorting in tasks table X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a3ccb730cb9a3509a2ddf62bb384a9181b281bdc;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index bf7f2c83ea3..ddeb992ff1a 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',