From: Michael Wood Date: Fri, 19 Feb 2016 05:21:49 +0000 (-0800) Subject: toaster: SoftwareRecipesTable apply default order_by X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1688608b537d8de840c6d1e4802ae41ca872e5bf;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: SoftwareRecipesTable apply default order_by Make sure the default orderby for the SoftwareRecipesTable is applied Signed-off-by: Michael Wood Signed-off-by: brian avery Signed-off-by: Richard Purdie --- diff --git a/lib/toaster/toastergui/tables.py b/lib/toaster/toastergui/tables.py index 86d111db736..5a589d3589a 100644 --- a/lib/toaster/toastergui/tables.py +++ b/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):