From 4e505ddff575e5fb591f113b524d18d561918cb0 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 23 Sep 2019 17:17:13 -0400 Subject: [PATCH] LP1845047 Ignore grid page size pref when paging disabled Ignore any saved value for page size on grids configured with paging disabled. Such grids are required to show all rows or any data past the first page would be innaccessible. Signed-off-by: Bill Erickson Signed-off-by: Elaine Hardy Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/share/grid/grid.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e4f6715ef6..60b0460bc1 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.ts @@ -567,7 +567,7 @@ export class GridContext { let columns = []; if (conf) { columns = conf.columns; - if (conf.limit) { + if (conf.limit && !this.disablePaging) { this.pager.limit = conf.limit; } } -- 2.11.0