From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E617CE00F87; Tue, 19 Apr 2016 09:32:16 -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,DKIM_SIGNED, DKIM_VALID,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 * [74.125.82.42 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 69E94E00AE4 for ; Tue, 19 Apr 2016 09:32:13 -0700 (PDT) Received: by mail-wm0-f42.google.com with SMTP id e201so20610042wme.0 for ; Tue, 19 Apr 2016 09:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=TW65kKxh4KWOfiVPt92EICOB3oczmWOQ+yJQVrzpLbM=; b=VY31BSyz9R+MOAjc/1ry6tij5duM4xN1BeskqFejYi9p7BhPFrK/Gh8RMqpncX1RYi E8a+wplRpCSyZ94s5VfGstZSJ3AmeYHMfa/iF33+hb8czgldP0PkfKmSm8T9yzxj1eoK 1dIiTIRM2zxk3EDkuLGXFh+3OYOsXYF7a8JrcOK+tuUSeNssluTVoA5qb3BJsp3F4FpB 2wun7ZOo4tzhJhNtKdrcHXHAN0WPdGTtt10o6xhFD/o+meLp543r5X9UuuI11bHZLDDn Ofmf8TDj/sX+wC7SvjP6VVRPFGA6GtmlaGr/Dv+289rwHSM1VSRdalJ+/VnjkMPiz7pd vVLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=TW65kKxh4KWOfiVPt92EICOB3oczmWOQ+yJQVrzpLbM=; b=St3Ze3NMaduof9pn+vhHadFi+b+B3/Qw4bzHiQ1KrJ3nuuAeKzyXfwQaGluQ0wa0+b i++zLCzH3TvHGdQkgsohXtxi9wd6XRS90ix/rCk4dW0yUoy+yt46y3dGt6wToBHgRHBU vasWEdmOM8Irl/tr5JOsCcRabx3SmG5YVGGKQlquC8e5QOIRweZcgWY+MqqOAn/i1jM7 FdDGCh7CksqIR85IJS8FYy96NKD67LmjYd5i5k/eNS02b3YLF6CqUkNaK2irrtXbYmkT //OZtZgwXMYxEFlymKmbNRhKt/Kv5q2q/x0o9P4rPfdatqougU1RnNJ6wlv85SqRIinE VBxg== X-Gm-Message-State: AOPr4FW5Sabb79a0qgIusCV7R0h1iyqfBWPV+nM3+rrpuIeyUElyGRPBstmFyDd+DT3ry8cX X-Received: by 10.28.13.141 with SMTP id 135mr26429225wmn.12.1461083532340; Tue, 19 Apr 2016 09:32:12 -0700 (PDT) Received: from [192.168.0.83] (host109-150-176-203.range109-150.btcentralplus.com. [109.150.176.203]) by smtp.googlemail.com with ESMTPSA id w3sm1113670wjt.0.2016.04.19.09.32.11 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 09:32:11 -0700 (PDT) To: toaster@yoctoproject.org References: <1459242431-17140-1-git-send-email-elliot.smith@intel.com> <1459242431-17140-3-git-send-email-elliot.smith@intel.com> From: Michael Wood Message-ID: <57165D8B.9010808@intel.com> Date: Tue, 19 Apr 2016 17:32:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1459242431-17140-3-git-send-email-elliot.smith@intel.com> Subject: Re: [PATCH 2/2] toaster: fix sorting after hiding a column in build tables 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: Tue, 19 Apr 2016 16:32:17 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sent to bitbake-devel and added to toaster-next Thanks, Michael On 29/03/16 10:07, Elliot Smith wrote: > When hiding a column in the build tasks or build packages included > table, if the column is set as the current order by for the table, the > order by is not reset to the default. The result is that the table > stays sorted by the hidden column. > > Set the default_orderby for these two tables correctly to ensure the > corresponding table is re-sorted when a column is hidden, if that column > was being used as the order by. > > [YOCTO #9011] > > Signed-off-by: Elliot Smith > --- > .../lib/toaster/toastergui/templates/tasks.html | 2 +- > bitbake/lib/toaster/toastergui/views.py | 50 +++++++++++----------- > 2 files changed, 26 insertions(+), 26 deletions(-) > > diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html > index 23eb957..84bc103 100644 > --- a/bitbake/lib/toaster/toastergui/templates/tasks.html > +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html > @@ -131,7 +131,7 @@ >