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 <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Belen Barros Pena
2014-02-21 07:35:58 +00:00
committed by Richard Purdie
parent b2e5cab1b5
commit a3ccb730cb

View File

@@ -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',