LP#1839341: Fix row duplication and linked field lookup user/miker/lp1839341-ou-settings-editor-angular-v2
authorMike Rylander <mrylander@gmail.com>
Wed, 2 Feb 2022 20:13:24 +0000 (15:13 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 2 Feb 2022 20:13:24 +0000 (15:13 -0500)
commit92a0ca8e440e0622103e8e1f5441291497107b0f
treec075883beead6fd62f08d4641759e07a875e9223
parent53fbe6726b5329bc369fa6004652f8fe0652b74a
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>
Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts