Commit Graph
3 Commits
Author SHA1 Message Date
Anton KaliaevandEthan Buchman 4daca1a634 return maxPerPage (not defaultPerPage) if per_page is greater than max (#3124)
it's more user-friendly.

Refs #3065
2019-01-14 17:35:31 -05:00
Anton Kaliaev 2ce8179c8b validate per_page before page
plus an additional check just in case
Closes #1688
2018-06-05 16:20:48 +04:00
Ethan Buchman 6f9867cba6 fix validate pagination params 2018-05-20 01:47:15 -04:00