From b99e1012f0ad1dc82a769df15a232280c8e57b9e Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Tue, 19 Apr 2016 17:28:39 +0100 Subject: [PATCH] toaster: fix sorting after hiding a column in build tables When hiding a column in the build tasks or build packages included table, if the column is set as the current order by for the table, the order by is not reset to the default. The result is that the table stays sorted by the hidden column. Set the default_orderby for these two tables correctly to ensure the corresponding table is re-sorted when a column is hidden, if that column was being used as the order by. [YOCTO #9011] Signed-off-by: Elliot Smith Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- lib/toaster/toastergui/templates/tasks.html | 2 +- lib/toaster/toastergui/views.py | 50 ++++++++++----------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/lib/toaster/toastergui/templates/tasks.html b/lib/toaster/toastergui/templates/tasks.html index 23eb957567e..84bc10386dc 100644 --- a/lib/toaster/toastergui/templates/tasks.html +++ b/lib/toaster/toastergui/templates/tasks.html @@ -131,7 +131,7 @@