]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: Fix the orderkey to match the column
authorMichael Wood <michael.g.wood@intel.com>
Wed, 11 Mar 2015 18:59:17 +0000 (18:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Mar 2015 17:43:51 +0000 (17:43 +0000)
If the orderkey doesn't map to the current sort value then when hiding
the column the sort doesn't get removed.

[YOCTO #7262]

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
lib/toaster/toastergui/views.py

index 807bf9bee1302aa7685d85aa61ac6780fe3b536b..fe016cce944ede851a401d732df8c14292ec434b 100755 (executable)
@@ -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,
             },
             {