From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0E1B7E00803; Mon, 14 Dec 2015 14:54:41 -0800 (PST) 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: * -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 * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.47 listed in list.dnswl.org] Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B3F7DE002F9 for ; Mon, 14 Dec 2015 14:54:37 -0800 (PST) Received: by mail-wm0-f47.google.com with SMTP id n186so69336817wmn.0 for ; Mon, 14 Dec 2015 14:54:37 -0800 (PST) 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-type:content-transfer-encoding; bh=kGyIAE1mJcCxVqmtxoEKNK8+PeNhbdy42MCsgG7tQqA=; b=okC4LpKOIxnNyN2zntStgDP0GYxaV8/1psuw0PcQFC6uaHbLVRLtsltDehzeO5IcPE LVaKBov8rAoOM3QdgdZbC7vBw7xfIpQMoJ8NWAfoHbVFUIYmxJjR12ycljw+EBPfhn3J GGWdVpFsEG1lUKwyDuzyrWnTLbb+MeT62pgdwbh3hV7kKg+GH4kL2p3nhIzRvJAQZFdm vabIoABOR8WCJ8mohZXDZmI+Hek2GzK4DDuZdBql/H5xbeSeh5SpedvofzL+ovFKV9uV K9mA4hpeSEBk3XJ0EwhpKyPcS5V5oTEQ2+HwLq2OT7CghWiUln0FLtGnGR5WeRP28i89 L7+A== 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-type :content-transfer-encoding; bh=kGyIAE1mJcCxVqmtxoEKNK8+PeNhbdy42MCsgG7tQqA=; b=ENyMaRhG3vAPuRC7R7+dbLf1tiRgUxDdahEPAS1JeXOp/JvVTwK8I9Pm4lruPMRJPC JIMqcgb5UEb1o1fCFcx0wXbdGIco7SYxCPOEUtDyzx+u3Px0qWklCIaMKY75Q7wdNc22 t9nFTpwk8267ApDOyx4DLd4bWOtqgi0Ua60mg8cq1vHoXNIXFRjit7uMhymvkCeun/D/ 4SZxr+9b2DUvTm3qBvHLJgVdd+k0350fRLnq3IKVAmXcRTuPDoe4yk+JSFtd3Abg/H+y H8UHbVwtkZ/rZoMD4CtQIzSZJccI1n6gDNJARY+xOgNkP2OFyrNf9lc5dNDyhBHKl8JH NxvQ== X-Gm-Message-State: ALoCoQky7TIHnj6qYHHs00ADj29D4yOKANH4GIJQB2Zmc7TOsbJdL1NaJ+wYXR7O8xbcNIcP2qyQdHUE+qih5cfV/AP9zFFQqg== X-Received: by 10.194.85.229 with SMTP id k5mr18685255wjz.100.1450133676377; Mon, 14 Dec 2015 14:54:36 -0800 (PST) Received: from [192.168.0.22] ([90.217.53.67]) by smtp.googlemail.com with ESMTPSA id w4sm31783888wje.49.2015.12.14.14.54.35 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 14:54:35 -0800 (PST) To: toaster@yoctoproject.org References: <1450091901-36436-1-git-send-email-belen.barros.pena@linux.intel.com> From: Michael Wood Message-ID: <566F48AA.9000104@intel.com> Date: Mon, 14 Dec 2015 22:54:34 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1450091901-36436-1-git-send-email-belen.barros.pena@linux.intel.com> Subject: Re: [PATCH] toasterui: set a default order for the software recipes table 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: Mon, 14 Dec 2015 22:54:41 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Thanks, sent upstream & committed to toaster-next On 14/12/15 11:18, Belen Barros Pena wrote: > From: Belen Barros Pena > > Add default order by recipe name, so that the table content is sorted > when the page loads. > > [YOCTO #8791] > > Signed-off-by: Belen Barros Pena > --- > bitbake/lib/toaster/toastergui/tables.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py > index 74af507..3808820 100644 > --- a/bitbake/lib/toaster/toastergui/tables.py > +++ b/bitbake/lib/toaster/toastergui/tables.py > @@ -561,6 +561,7 @@ class SoftwareRecipesTable(RecipesTable): > def __init__(self, *args, **kwargs): > super(SoftwareRecipesTable, self).__init__(*args, **kwargs) > self.title = "Compatible software recipes" > + self.default_orderby = "name" > > def setup_queryset(self, *args, **kwargs): > super(SoftwareRecipesTable, self).setup_queryset(*args, **kwargs)