From: Bill Erickson Date: Tue, 13 Jul 2021 14:46:55 +0000 (-0400) Subject: LP1904036 Merge repair X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bad7cfb498d8962fe128164e509dfd5dc5b443e2;p=evergreen%2Ftadl.git LP1904036 Merge repair 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 7fb1efc414..ba9918fb55 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.ts @@ -402,19 +402,6 @@ export class GridColumnSet { this.columns.filter(c => c.required && !c.visible)); } - // Sorted visible columns followed by sorted non-visible columns. - // Note we don't sort this.columns directly as it would impact - // grid column display ordering. - sortForColPicker(): GridColumn[] { - const visible = this.columns.filter(c => c.visible); - const invisible = this.columns.filter(c => !c.visible); - - visible.sort((a, b) => a.label < b.label ? -1 : 1); - invisible.sort((a, b) => a.label < b.label ? -1 : 1); - - return visible.concat(invisible); - } - insertBefore(source: GridColumn, target: GridColumn) { let targetIdx = -1; let sourceIdx = -1;