From: Bill Erickson Date: Thu, 22 Apr 2021 21:17:00 +0000 (-0400) Subject: LP1904036 billing history tabs; sql cleanup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=11e64be86388acf49dafaa73b634256dc374e362;p=evergreen%2Ftadl.git LP1904036 billing history tabs; sql cleanup Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- 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 90fa88b04f..bc72130a82 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.ts @@ -125,7 +125,7 @@ export class GridColumnSet { insertColumn(col: GridColumn): boolean { if (col.isAuto) { - if (this.getColByName(col.name)) { + if (this.getColByName(col.name) || this.getColByPath(col.path)) { // New auto-generated column conflicts with existing // column. Skip it. return false; @@ -176,6 +176,12 @@ export class GridColumnSet { return this.columns.filter(c => c.name === name)[0]; } + getColByPath(path: string): GridColumn { + if (path) { + return this.columns.filter(c => c.path === path)[0]; + } + } + idlInfoFromDotpath(dotpath: string): any { if (!dotpath || !this.idlClass) { return null; } diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/billing-history.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/billing-history.component.html index 06d59b094b..37ad704fd4 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/billing-history.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/billing-history.component.html @@ -17,7 +17,8 @@ -