]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: SoftwareRecipesTable apply default order_by
authorMichael Wood <michael.g.wood@intel.com>
Fri, 19 Feb 2016 05:21:49 +0000 (21:21 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Feb 2016 15:38:20 +0000 (15:38 +0000)
Make sure the default orderby for the SoftwareRecipesTable is applied

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/toastergui/tables.py

index 86d111db73639e3b83919809eaaa95474b5bf78e..5a589d3589a4745be0a9cca9265a72c05162b1ee 100644 (file)
@@ -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):