summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/tables.py
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-12-14 22:50:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-14 23:16:13 +0000
commit03d715e541133d9a73c64f7136eb809d538bca09 (patch)
tree687d3c5759ecc7d819817ddf1f9764b0388917db /bitbake/lib/toaster/toastergui/tables.py
parent4ff0d60ea851d74b74e3521d8a94be7e523b72c5 (diff)
downloadpoky-03d715e541133d9a73c64f7136eb809d538bca09.tar.gz
bitbake: toaster: tables Set a default order for the software recipes table
Add default order by recipe name, so that the table content is sorted when the page loads. [YOCTO #8791] (Bitbake rev: 36cc814b64bcf3825ed096ade0b8c590e497259f) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tables.py')
-rw-r--r--bitbake/lib/toaster/toastergui/tables.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index 74af507e92..38088201d8 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/lib/toaster/toastergui/tables.py
@@ -561,6 +561,7 @@ class SoftwareRecipesTable(RecipesTable):
561 def __init__(self, *args, **kwargs): 561 def __init__(self, *args, **kwargs):
562 super(SoftwareRecipesTable, self).__init__(*args, **kwargs) 562 super(SoftwareRecipesTable, self).__init__(*args, **kwargs)
563 self.title = "Compatible software recipes" 563 self.title = "Compatible software recipes"
564 self.default_orderby = "name"
564 565
565 def setup_queryset(self, *args, **kwargs): 566 def setup_queryset(self, *args, **kwargs):
566 super(SoftwareRecipesTable, self).setup_queryset(*args, **kwargs) 567 super(SoftwareRecipesTable, self).setup_queryset(*args, **kwargs)