Anton Kaliaev
|
756440e0a2
|
rpc: return err if page is incorrect (less than 0 or greater than tot… (#3825)
* rpc: return err if page is incorrect (less than 0 or greater than total pages)
Fixes #3813
* fix rpc_test
|
2019-07-23 12:25:59 +04:00 |
|
Anton Kaliaev
|
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 |
|