LP1857350 Org selector sorts by display value
authorBill Erickson <berickxx@gmail.com>
Thu, 26 Dec 2019 18:18:26 +0000 (13:18 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 9 Jan 2020 14:33:42 +0000 (09:33 -0500)
commitdedfe9f2b5bf08d09ad473a75a49069289563f3f
tree590d5e7cbc3bfca7c20ef1d26f4b14e91d9f398c
parent5cda086a24e7be73fd52acf6a484d825379378df
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>
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