summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-04-19 17:28:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-19 21:11:25 +0100
commit040dbf6988bebf755e60f6102bbc2b9854ce0608 (patch)
tree2e31ee935fc24db744f6381c5aa9a5c6bb7e7eaf /bitbake/lib/toaster/toastergui/templates
parent1b11b79f505d3535ad49c415c66117b55d8f14e0 (diff)
downloadpoky-040dbf6988bebf755e60f6102bbc2b9854ce0608.tar.gz
bitbake: 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] (Bitbake rev: b99e1012f0ad1dc82a769df15a232280c8e57b9e) Signed-off-by: Elliot Smith <elliot.smith@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/templates')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/tasks.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html
index 23eb957567..84bc10386d 100644
--- a/bitbake/lib/toaster/toastergui/templates/tasks.html
+++ b/bitbake/lib/toaster/toastergui/templates/tasks.html
@@ -131,7 +131,7 @@
131<script type="text/javascript"> 131<script type="text/javascript">
132 132
133 $(document).ready(function() { 133 $(document).ready(function() {
134 // enable blue hightlight animation for the order link 134 // highlight heading on the column for the field used for ordering
135 if (location.href.search('#') > -1) { 135 if (location.href.search('#') > -1) {
136 var task_order = location.href.split('#')[1]; 136 var task_order = location.href.split('#')[1];
137 $("#" + task_order).addClass("highlight"); 137 $("#" + task_order).addClass("highlight");