From: Bill Erickson Date: Mon, 19 Apr 2021 16:43:51 +0000 (-0400) Subject: LP1904036 Grid flat data service/support X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=089563f51afd0cc598e81039047a7705199a925a;p=working%2FEvergreen.git LP1904036 Grid flat data service/support Signed-off-by: Bill Erickson --- 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 0824853a8f..d5cceb7a19 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. @@ -779,7 +780,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); }