From 5e5ab2fa323a74dc3c48952a52f2eb011b5caeb2 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 19 Apr 2021 12:43:51 -0400 Subject: [PATCH] LP1904036 Grid flat data service/support Signed-off-by: Bill Erickson --- Open-ILS/src/eg2/src/app/share/grid/grid.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid.ts b/Open-ILS/src/eg2/src/app/share/grid/grid.ts index f4079367e7..082efd0124 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.ts @@ -116,6 +116,7 @@ export class GridColumnSet { this.applyColumnFilterability(col); } + // Returns true if the new column was inserted, false otherwise. // Declared columns take precedence over auto-generated columns // when collisions occur. @@ -817,7 +818,7 @@ export class GridContext { if (col.name in row) { val = this.getObjectFieldValue(row, col.name); - } else { + } else if (col.path) { val = this.nestedItemFieldValue(row, col); } -- 2.11.0