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)
committerJane Sandberg <sandbergja@gmail.com>
Thu, 13 Oct 2022 16:04:01 +0000 (09:04 -0700)
commitd17f9e3a8a839f96736a02a3f07972f00f25f5dd
treeda1edfdf6eb2330fa22a5be7b521c0a1468b935a
parentaa25d15367c99ead0ae44a85927e285f33cc8a88
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>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts