LP1857350 Org selector sorts by display value
authorBill Erickson <berickxx@gmail.com>
Thu, 26 Dec 2019 18:18:26 +0000 (13:18 -0500)
committerBill Erickson <berickxx@gmail.com>
Mon, 30 Dec 2019 15:09:41 +0000 (10:09 -0500)
commit1bed2a7353315eccff116c47d8c3f8d92350deba
treed167c38197cb4e7e0dabb2757d47c20271310125
parent14121ee64d22615e1434f8d5f7f38174b0061b99
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