Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 001F8E00C12; Mon, 14 Dec 2015 03:18:34 -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=-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.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DA8C6E0083E for ; Mon, 14 Dec 2015 03:18:30 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 14 Dec 2015 03:18:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,426,1444719600"; d="scan'208";a="706952663" Received: from bbarrosp-mac03.isw.intel.com ([10.237.224.33]) by orsmga003.jf.intel.com with ESMTP; 14 Dec 2015 03:18:29 -0800 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Mon, 14 Dec 2015 11:18:21 +0000 Message-Id: <1450091901-36436-1-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 2.4.9 (Apple Git-60) Subject: [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 11:18:35 -0000 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) -- 2.4.9 (Apple Git-60)