LP#1839341: Fix row duplication and linked field lookup
authorMike Rylander <mrylander@gmail.com>
Wed, 2 Feb 2022 20:13:24 +0000 (15:13 -0500)
committerMike Rylander <mrylander@gmail.com>
Fri, 19 Aug 2022 17:41:25 +0000 (13:41 -0400)
commit69796d9f9eaedf01a3ccc5b455dac263ca7a9506
tree1c80f6dca2dd72933dccc4d385a4bb8e7c187c29
parent45b2ed765c2664ce37a495203fdc6e28f9da888e
LP#1839341: Fix row duplication and linked field lookup

The grid needed to be refreshed after a filter change to address
duplicated rows noticed in testing.  In addition, for settings with
typed linked objects, we need to look up the labeling column via the
selector attribute, or use the pkey, rather than assuming a "name"
column will exist.

There is an additional issue with setting typed linked objects in the
Edit dialog, but this is addressed in an enhancement to the core widgets
provided as part of the Simple Reporter work in LP#1945836.

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