]> git.evergreen-ils.org Git - Evergreen.git/commit
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:24:34 +0000 (15:24 -0400)
commitbe1d8530299c164befbe9b36c4220462539ef727
treedb8799eb0fa5c1baae42aaee679a2ea6a385d900
parent8cb0a80a074c57f5f2fd1e097fe7b60f0ac1c7b4
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