[bitbake-devel] [PATCH 2/5] toaster: SoftwareRecipesTable apply default order_by
brian avery
avery.brian at gmail.com
Fri Feb 19 05:21:49 UTC 2016
From: Michael Wood <michael.g.wood at intel.com>
Make sure the default orderby for the SoftwareRecipesTable is applied
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
Signed-off-by: brian avery <avery.brian at gmail.com>
---
lib/toaster/toastergui/tables.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/toaster/toastergui/tables.py b/lib/toaster/toastergui/tables.py
index 86d111d..5a589d3 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):
--
1.9.1
More information about the bitbake-devel
mailing list