Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 3EA52E00AB6; Tue, 16 Feb 2016 11:20:18 -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: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.220.53 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-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B126AE00A92 for ; Tue, 16 Feb 2016 11:20:15 -0800 (PST) Received: by mail-pa0-f53.google.com with SMTP id fy10so68641792pac.1 for ; Tue, 16 Feb 2016 11:20:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/qbBMMbrYDegDUCqddpiOur34FDRmvGpCt6Bxnfb7f4=; b=Mm6VpQtlURnz+piDTmikSnLi/CdNsvPwefO4E9bbAVRolVBYB3J4ZDKxTAxc+6POVo ToC2qgXrm1+rE36RxTxKSmSKPFJhtFYNOTlawNwlxZhP2z4Ao2Y9pc2g1TmkyABNyVPi 7Lq3Gtvju2LQubevybHEzRIFmk3/HfvncyWQ24K8EPiHk8woKsK09RKuaeWKE0F/9BQa MQLuV21MEt+ucJeid5+2N4CwtsAu6vs3RBQaEhWX/LBe3ROMfRDnjb9c7Gt/CpOAa9Zv pfFPHWKD0AiN2MP79ggsE4ynNdyHFDbncnap6O1dwaGpCb/FrhkYoKsGmD+E2NYQ5gG6 fqlA== 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:in-reply-to :references; bh=/qbBMMbrYDegDUCqddpiOur34FDRmvGpCt6Bxnfb7f4=; b=EqaKZS2o84bhwqw+98p6csqxigdHWTVtsf+l3gbPm/aD6FvOfvwCkIlrpgr8VDt4mS gh5OQwwGb7Tf0unwwSon9r/GaWk72EcQmxu1q2vIgE84wRBwqvMGM24bgnddRO2DTmuY ZScCU6FYG6ocm3k3hcux3V4ioC1uh/VkNpBGgvgLBsfpG060671oArBNmu7kgPvS8dLf 6XgAUen2Mtf0i65ij2IgDy01ZI8fIFYE6hx/Rfh+JieNMwaHPGjssxWBzZiXe7LDAG9I ASzLwV4I99LzvdLBBI2GKS9duJFvOAsJms2xifyzX3v3yjDEO/4ZVQdycjyrGpsgw7LA vRwg== X-Gm-Message-State: AG10YOQPgd8v8HMKcTNzMX3mrB8p65o3P5amoX8+GBuvGVm5KUmOXgPHpW5RlDdSeLQlnX1F X-Received: by 10.66.62.229 with SMTP id b5mr30740509pas.114.1455650415076; Tue, 16 Feb 2016 11:20:15 -0800 (PST) Received: from dorado.ger.corp.intel.com (fmdmzpr02-ext.fm.intel.com. [192.55.55.37]) by smtp.gmail.com with ESMTPSA id 85sm47551442pfl.18.2016.02.16.11.20.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Feb 2016 11:20:14 -0800 (PST) From: Michael Wood To: toaster@yoctoproject.org Date: Tue, 16 Feb 2016 19:19:54 +0000 Message-Id: <1455650397-14195-3-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455650397-14195-1-git-send-email-michael.g.wood@intel.com> References: <1455650397-14195-1-git-send-email-michael.g.wood@intel.com> Subject: [PATCH 2/5] toaster: SoftwareRecipesTable apply default order_by 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, 16 Feb 2016 19:20:18 -0000 Make sure the default orderby for the SoftwareRecipesTable is applied Signed-off-by: Michael Wood --- 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 86d111d..5a589d3 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py @@ -617,6 +617,7 @@ class SoftwareRecipesTable(RecipesTable): super(SoftwareRecipesTable, self).setup_queryset(*args, **kwargs) self.queryset = self.queryset.filter(is_image=False) + self.queryset = self.queryset.order_by(self.default_orderby) def setup_columns(self, *args, **kwargs): -- 2.5.0