From: Belen Barros Pena <[email protected]> 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 <[email protected]> --- 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) -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
