]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
LP1857350 Org selector sorts by display value
authorBill Erickson <berickxx@gmail.com>
Thu, 26 Dec 2019 18:18:26 +0000 (13:18 -0500)
committerDan Scott <dan@coffeecode.net>
Fri, 3 Jan 2020 19:31:27 +0000 (14:31 -0500)
commita808abb3fbe9fd955a2b60f15de6ff862b05ba5d
tree6191b3b523e22b4cb98c9ba71a18b2865e845693
parent77e42a4198f51f37c72e3b3d4c7ee9e2dd1e91d5
LP1857350 Org selector sorts by display value

When displaying the org unit selector, sort each set of children by the
display label (defaults to shortname).

Fixes issues with the org server sortTree function and adds a unit test
to test the repaired sort function.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/core/org.service.ts
Open-ILS/src/eg2/src/app/core/org.spec.ts
Open-ILS/src/eg2/src/app/share/org-select/org-select.component.ts
Open-ILS/src/eg2/src/test_data/eg_mock.js