From 65c5f6dc8c96d3d4a2e015482259e14d4f9cc95a Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 2 Mar 2020 12:08:04 -0500 Subject: [PATCH] eg-grid: fix disabling filter controls when data is being fetched Signed-off-by: Galen Charlton --- .../src/eg2/src/app/share/grid/grid-filter-control.component.html | 8 ++++++-- Open-ILS/src/eg2/src/app/share/grid/grid.ts | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html b/Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html index c6440cd1f8..052de1cef7 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html +++ b/Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html @@ -17,6 +17,7 @@ @@ -36,7 +37,8 @@ - @@ -231,6 +233,7 @@
@@ -270,7 +273,8 @@ - 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 258153a61a..5d8a40955e 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.ts @@ -1203,7 +1203,8 @@ export class GridDataSource { return this.getRows(pager, this.sort).subscribe( row => { this.data[idx++] = row; - this.requestingData = false; + // not updating this.requestingData, as having + // retrieved one row doesn't mean we're done this.retrievalError = false; }, err => { -- 2.11.0