Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 038F4E00832; Thu, 12 Mar 2015 04:02:07 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A5CF8E0034E for ; Thu, 12 Mar 2015 04:02:02 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 12 Mar 2015 04:02:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,388,1422950400"; d="scan'208";a="539863004" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga003.jf.intel.com with ESMTP; 12 Mar 2015 04:01:19 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.236]) by irsmsx105.ger.corp.intel.com ([169.254.7.117]) with mapi id 14.03.0195.001; Thu, 12 Mar 2015 11:02:00 +0000 From: "Barros Pena, Belen" To: "Wood, Michael G" , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [review-request][PATCH] bitbake: toaster: Fix the orderkey to match the column Thread-Index: AQHQXLP2li99K3hFpki3zTgvtXxpsA== Date: Thu, 12 Mar 2015 11:01:59 +0000 Message-ID: References: <1426100357-18276-1-git-send-email-michael.g.wood@intel.com> In-Reply-To: <1426100357-18276-1-git-send-email-michael.g.wood@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.8.150116 x-originating-ip: [10.237.224.82] MIME-Version: 1.0 Subject: Re: [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: Thu, 12 Mar 2015 11:02:07 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <7DA81BCD27BE5E409FF412FACC5AD85C@intel.com> Content-Transfer-Encoding: quoted-printable On 11/03/2015 18:59, "Michael Wood" wrote: >If the orderkey doesn't map to the current sort value then when hiding >the column the sort doesn't get removed. This solves the problem for the packages built table only, but this is also happening in: * The packages installed table (/build//target/ * The tasks, time, cpu usage and disk io tables Any chance the fix could also be applied to those? Thanks! Bel=E9n > >[YOCTO #7262] I think you meant 7198 > >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, > }, > { >--=20 >2.1.0 > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster