LP#1839341: Really stop duplicates, and provide an initial sort order
authorMike Rylander <mrylander@gmail.com>
Tue, 29 Mar 2022 19:11:55 +0000 (15:11 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 29 Mar 2022 19:29:43 +0000 (15:29 -0400)
commit34c7a9c2dda053ef813446d716f79f3849966d15
treeeae5dec851d2dd7c5a1ec540c5657a0539197a15
parentd4389c68507aa5f40bc0742d6c7b8cd4c4be6025
LP#1839341: Really stop duplicates, and provide an initial sort order

Duplicates snuck back in due to something firing the getRows function
multiple times, concurrently.  We avoid this problem by returning an
empty observable if we're already mid-fetch.

This commit also sorts the settings by group and label at load time.
Finally, we bring back the "change not visible" warning when editing
for a location other than the context org as a toast.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts