LP#1831788: (follow-up) rename grid method
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 Jul 2019 20:05:27 +0000 (16:05 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 1 Aug 2019 13:49:51 +0000 (09:49 -0400)
Specifically, reloadSansPagerReset() =>  reloadWithoutPagerReset()

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/share/grid/grid.component.ts
Open-ILS/src/eg2/src/app/share/grid/grid.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts

index b1b2989..b043a41 100644 (file)
@@ -195,8 +195,8 @@ export class GridComponent implements OnInit, AfterViewInit, OnDestroy {
     reload() {
         this.context.reload();
     }
-    reloadSansPagerReset() {
-        this.context.reloadSansPagerReset();
+    reloadWithoutPagerReset() {
+        this.context.reloadWithoutPagerReset();
     }
 
 
index 7740bdd..18d4f7a 100644 (file)
@@ -564,7 +564,7 @@ export class GridContext {
         });
     }
 
-    reloadSansPagerReset() {
+    reloadWithoutPagerReset() {
         setTimeout(() => {
             this.dataSource.reset();
             this.dataSource.requestPage(this.pager);
index 0c637b5..1d47a07 100644 (file)
@@ -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 => {