LP#1825578: reverse direction of sort-order arrows in eg-grid
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 19 Apr 2019 21:20:42 +0000 (17:20 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 24 Apr 2019 19:17:12 +0000 (15:17 -0400)
commite83a8c001a66ba7378c79c8ccd4451aeb711b956
tree9a7d7eae3f6c2fdf721a70d937d6c7777d30c151
parent7f08fdb4988ec1edf06ebbbf0fb1b32178292155
LP#1825578: reverse direction of sort-order arrows in eg-grid

This patch adjusts the arrow icons used to indicate if a column
in the Angular eg-grid is sorted to use the following convention:

  sort order ascending == display _up_ arrow
  sort order descending == display _descending_ arrow

To test
-------
[1] Apply the patch.
[2] In a grid with a sortable column (as can be found in /eg2/en-US/staff/sandbox),
    click on the heading to sort it. Verify that ascending sort displays
    the upwards arrow and descending sort the downwards.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/share/grid/grid-header.component.html