diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-02-21 07:35:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-17 13:59:28 +0000 |
commit | fa24c857e6f5b3c56f89a2a85dea6ad271f82c01 (patch) | |
tree | fb2eed6f9e8b635f7b6087f717392eddea98fc55 /lib | |
parent | e3b3205674f606b927f1bf568202a592ca6453c9 (diff) | |
download | bitbake-fa24c857e6f5b3c56f89a2a85dea6ad271f82c01.tar.gz |
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.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/toaster/toastergui/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py index bf7f2c83e..ddeb992ff 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', |