From aef077e88ad73d7e9381f13d9cb378d29e399521 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 30 Jul 2019 16:05:27 -0400 Subject: [PATCH] LP#1831788: (follow-up) rename grid method Specifically, reloadSansPagerReset() => reloadWithoutPagerReset() Signed-off-by: Galen Charlton Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg --- Open-ILS/src/eg2/src/app/share/grid/grid.component.ts | 4 ++-- Open-ILS/src/eg2/src/app/share/grid/grid.ts | 2 +- Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid.component.ts b/Open-ILS/src/eg2/src/app/share/grid/grid.component.ts index b1b29895f3..b043a418be 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.component.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.component.ts @@ -195,8 +195,8 @@ export class GridComponent implements OnInit, AfterViewInit, OnDestroy { reload() { this.context.reload(); } - reloadSansPagerReset() { - this.context.reloadSansPagerReset(); + reloadWithoutPagerReset() { + this.context.reloadWithoutPagerReset(); } 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 7740bddbc1..18d4f7adbe 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.ts @@ -564,7 +564,7 @@ export class GridContext { }); } - reloadSansPagerReset() { + reloadWithoutPagerReset() { setTimeout(() => { this.dataSource.reset(); this.dataSource.requestPage(this.pager); diff --git a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts index 0c637b5a7e..1d47a070db 100644 --- a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts @@ -347,7 +347,7 @@ export class SandboxComponent implements OnInit { ok => { this.successString.current() .then(str => this.toast.success(str)); - this.acpGrid.reloadSansPagerReset(); + this.acpGrid.reloadWithoutPagerReset(); resolve(ok); }, rejection => { -- 2.11.0