Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D3E9EE00810; Wed, 11 Mar 2015 11:59:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.212.182 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DBDFEE0034E for ; Wed, 11 Mar 2015 11:59:21 -0700 (PDT) Received: by widem10 with SMTP id em10so14363255wid.2 for ; Wed, 11 Mar 2015 11:59:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hOYFuiToNREaMrbJfkXU0phAf8URZClkjLDLQyyt1cA=; b=lVYkARPCpk60UGInzZJoXbocd626a9eIfGb+IEXRPWYS2l2kABD5YZaueolO8gI6I8 f42PbiOTjdtMAjxY9qUEMT5ouac1TzMDOAasxRqPoftigJEb9x7EqLvINpBaiXM7n2hR yJy7pVYJocWzCBB5+VOnvhdVmZw01lGOlM/g+Z5MVzwmXusOemWclt85rW02YI9zSB1x e5zEQpQzRfTDfI30/Nh5LKnq4X6HCqqebKgeoXOP/LjotoOrcQsy/Bpz4Gb052kc/T+e Y6Yg13Z76KNmfQCl7PchAvGj0dj/MKbh8oLiND+pB4OYte83/s9mZ70x/H+WsPSdsEC1 KJyQ== X-Gm-Message-State: ALoCoQn3RDYEQQKBG4SRow5jTTWX6fjXD4GJpTBkckie6Xg8FCGJ+zp7CCKO6TBJ0iM2yGXt2jCy X-Received: by 10.194.177.132 with SMTP id cq4mr77113598wjc.99.1426100361034; Wed, 11 Mar 2015 11:59:21 -0700 (PDT) Received: from draco.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id r14sm1013044wiv.13.2015.03.11.11.59.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Mar 2015 11:59:20 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Wed, 11 Mar 2015 18:59:17 +0000 Message-Id: <1426100357-18276-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.1.0 Subject: [review-request][PATCH] bitbake: toaster: Fix the orderkey to match the column X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 18:59:23 -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 --- 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 8034cfc..66a4b77 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py @@ -1396,7 +1396,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, }, { -- 2.1.0