All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Revert to default table sort when sort column is hidden
@ 2016-07-22  8:58 Elliot Smith
  2016-07-22  8:58 ` [PATCH 1/2] toaster: reset table to default orderby when orderby " Elliot Smith
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Elliot Smith @ 2016-07-22  8:58 UTC (permalink / raw)
  To: toaster

Fix an issue where a ToasterTable doesn't revert to the default sort when
the current sort column is hidden.

To test:

1. Run Toaster and do a build.
2. Go to the all builds page. Note that the table is sorted by "Completed on" in reverse order.
3. Use "Edit columns" to switch on the "Started on" column.
4. Sort the table by the "Started on" column. Note that the "Started on" column is highlighted as the sort column.
5. Use "Edit columns" to hide the "Started on" column.
6. Check that the sort goes back to the default ("Completed on" in reverse order).

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

The following changes since commit 1826de5234aadb9aa51c83f86471cdd7e88b48cf
(toaster-next):

  toaster: loadconf Partially add back some of the layerSource parsing (2016-07-21 11:23:00 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib elliot/toaster/9836-revert_sorting
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/9836-revert_sorting

Elliot Smith (2):
  toaster: reset table to default orderby when orderby column is hidden
  toaster-tests: add tests for reverting to default sort

 .../toaster/tests/browser/test_toastertable_ui.py  | 160 +++++++++++++++++++++
 bitbake/lib/toaster/toastergui/static/js/table.js  |  78 +++++++---
 2 files changed, 220 insertions(+), 18 deletions(-)
 create mode 100644 bitbake/lib/toaster/tests/browser/test_toastertable_ui.py

--
2.7.4



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

end of thread, other threads:[~2016-07-27 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22  8:58 [PATCH 0/2] Revert to default table sort when sort column is hidden Elliot Smith
2016-07-22  8:58 ` [PATCH 1/2] toaster: reset table to default orderby when orderby " Elliot Smith
2016-07-22  8:58 ` [PATCH 2/2] toaster-tests: add tests for reverting to default sort Elliot Smith
2016-07-27 10:46 ` [PATCH 0/2] Revert to default table sort when sort column is hidden Barros Pena, Belen

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.