[Toaster] [PATCH 0/2] Revert to default sorting when table column is hidden

Elliot Smith elliot.smith at intel.com
Tue Mar 29 02:07:09 PDT 2016


Hiding a column in a table does not revert the sort order to the default
one for the table: the table remains sorted by the hidden column.

Modify ToasterTable and non-ToasterTable tables so that hiding a column will
revert the sort order to the default.

This should fix the issue for all of the tables in Toaster.

Changes since eea41e44 (toaster-next) are in
git://git.yoctoproject.org/poky-contrib, elliot/toaster/default_sort-9011
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/default_sort-9011

Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9011

Elliot Smith (1):
  toaster: fix sorting after hiding a column in build tables

Michael Wood (1):
  toaster: ensure ToasterTable headings are reset when order by changes

 bitbake/lib/toaster/toastergui/static/js/table.js  |  6 ++-
 .../lib/toaster/toastergui/templates/tasks.html    |  2 +-
 bitbake/lib/toaster/toastergui/views.py            | 50 +++++++++++-----------
 3 files changed, 31 insertions(+), 27 deletions(-)

--
Elliot Smith
Software Engineer
Intel OTC

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the toaster mailing list