Items: Second Click on Column Header Should Reverse Sort
Description
Environment
Potential Workaround
relates to
Checklist
hideTestRail: Results
Activity

Charlotte Whitt June 20, 2017 at 4:30 PM

Charlotte Whitt June 20, 2017 at 2:20 PM
got it, thanks

Mike Taylor June 20, 2017 at 2:17 PM
"Double click" is a mis-statement of what this issue is. It really means "second click" – as in, if you click again on the heading by which the list is already sorted, the sorting by that heading will reverse. (If there is a secondary sort key because you previously sorted by some other criterion, that remains the same.)
I will update the title of this issue, and of UIU-81, accordingly.
The status-text alignment is worth following up. Please file it as a separate issue, and it's unconnected to sorting.

Charlotte Whitt June 20, 2017 at 2:12 PM
Tested click on column header,
a) using no filter: http://folio-demo-test.aws.indexdata.com/items?sort=-location%2C-barcode
b) using material types, filter dvd: http://folio-demo-test.aws.indexdata.com/items?filters=item.dvd&sort=-location%2C-title
c) using location, filter Annex Library: http://folio-demo-test.aws.indexdata.com/items?filters=location.Annex%20Library&sort=-barcode%2Ctitle
Reverse sort ↧ works correctly for location, barcode, title, and status.
Expected results: To be able to trig the event by using double click on the column header.
Actual results: I can trig the event by using single click (in chrome, and safari).
Additional info:
The status-text is not for all titles aligned to the left in the status-column - it's more visible in chrome than in safari.

Test: Second click in column header triggers the reverse sort ↧ correctly for location, barcode, title, and status.