From: Bill Erickson Date: Mon, 23 Sep 2019 21:17:13 +0000 (-0400) Subject: LP1845047 Ignore grid page size pref when paging disabled X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6528a88d8d33457717d16fcf5019fc389ad53c2b;p=evergreen%2Fpines.git 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 --- 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 e885fb7787..a71a7e4d4f 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.ts @@ -569,7 +569,7 @@ export class GridContext { let columns = []; if (conf) { columns = conf.columns; - if (conf.limit) { + if (conf.limit && !this.disablePaging) { this.pager.limit = conf.limit; } }