From 7e1eabae36a4976c05b03a80cb6cd8932a696b59 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 ea8b4c8652..b6848de419 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. @@ -792,7 +793,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