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>
Fri, 19 Aug 2022 17:41:25 +0000 (13:41 -0400)
commit66201201509a49b589dff674532a0a7234df7acd
tree82f42b9b0e2db1bdce8dcfbf3336877beb5a52c8
parentff0ba2b001a40deb0cb7f0075d032a7e1e7be735
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