LP#1584807: Clicking column header should not unsort list user/dyrcona/lp1584807_signed_off
authorKathy Lussier <klussier@masslnc.org>
Tue, 24 May 2016 00:09:34 +0000 (20:09 -0400)
committerJason Stephenson <jason@sigio.com>
Thu, 29 Sep 2016 19:21:02 +0000 (15:21 -0400)
commit0654336982163c3a214f81845eb3466e05ca2fd8
treeea96564bbc7538805726f94dc34a9bea57a35672
parent9dd9dcaf74f72a84a46d9ac60a1d5c13ba932eff
LP#1584807: Clicking column header should not unsort list

Clicking column headers in My Account cycled through ascending order,
descending order, and then unsorted. But unsorting a list after clicking a
header is unintutive to the user. Instead, it should toggle between ascending /
descending order.

Test plan
* Using the concerto dataset, log in as user 99999395984 / maes1234
* Go to the Items Out area of my account and click the title column header to
sort the list.
* The list will first sort alphabetically in ascending order, on a second click
will sort alphabetically in descending order, and, on a third click, will
return to the default sort order.
* After loading the patch, clicking the column header should only result in
sorting in ascending and descending order.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/templates/opac/parts/myopac/column_sort_support.tt2