From df0672b038e6942c97d266af9ca175a06f2b0423 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Wed, 11 Mar 2015 18:59:17 +0000 Subject: [PATCH] bitbake: toaster: Fix the orderkey to match the column If the orderkey doesn't map to the current sort value then when hiding the column the sort doesn't get removed. [YOCTO #7262] (Bitbake rev: 4b07195405b124ff39703e1ddc226dee420fed22) Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 807bf9bee1..fe016cce94 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py @@ -1401,7 +1401,7 @@ def bpackage(request, build_id): 'qhelp':'The Git branch of the layer providing the recipe that builds the package', 'orderfield': _get_toggle_order(request, "recipe__layer_version__branch"), 'ordericon':_get_toggle_order_icon(request, "recipe__layer_version__branch"), - 'orderkey' : 'recipe__layer_version__layer__branch', + 'orderkey' : 'recipe__layer_version__branch', 'clclass': 'recipe__layer_version__branch', 'hidden': 1, }, {