projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efde2a4
)
LP1845047 Ignore grid page size pref when paging disabled
user/berick/lp1845047-grid-no-paging-no-limit
author
Bill Erickson
<berickxx@gmail.com>
Mon, 23 Sep 2019 21:17:13 +0000
(17:17 -0400)
committer
Bill Erickson
<berickxx@gmail.com>
Mon, 23 Sep 2019 21:17:14 +0000
(17:17 -0400)
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 <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/grid/grid.ts
patch
|
blob
|
history
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
01b5c09
..
4b549a6
100644
(file)
--- a/
Open-ILS/src/eg2/src/app/share/grid/grid.ts
+++ b/
Open-ILS/src/eg2/src/app/share/grid/grid.ts
@@
-543,7
+543,7
@@
export class GridContext {
let columns = [];
if (conf) {
columns = conf.columns;
- if (conf.limit) {
+ if (conf.limit
&& !this.disablePaging
) {
this.pager.limit = conf.limit;
}
}