All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] toasterui: set a default order for the software recipes table
@ 2015-12-14 11:18 Belen Barros Pena
  2015-12-14 22:54 ` Michael Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Belen Barros Pena @ 2015-12-14 11:18 UTC (permalink / raw)
  To: toaster

From: Belen Barros Pena <belen.barros.pena@intel.com>

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 <belen.barros.pena@intel.com>
---
 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)



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-14 22:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-14 11:18 [PATCH] toasterui: set a default order for the software recipes table Belen Barros Pena
2015-12-14 22:54 ` Michael Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.