Commit f8cbb4f0 authored by Matija Obreza's avatar Matija Obreza

Increased API call max page size to 1000

parent 07ce3c22
......@@ -38,7 +38,7 @@ public abstract class RestController {
protected static final ApiResult JSON_OK = new ApiResult(true);
@Value("${paginator.default.maxPageSize}")
@Value("${paginator.api.maxPageSize}")
protected int maxPageSize;
public static class ApiResult {
......
......@@ -24,11 +24,13 @@ base.cookie-secure=false
base.cookie-http-only=true
#Paginator
# Paginator
paginator.default.maxPageSize=500
paginator.default.pageSize=50
paginator.default.fastStep=3
paginator.default.maxPage=4
# Pagination for API calls
paginator.api.maxPageSize=1000
# Default account info
default.admin.email=admin@example.com
......
......@@ -19,6 +19,8 @@ paginator.default.maxPageSize=500
paginator.default.pageSize=2
paginator.default.fastStep=3
paginator.default.maxPage=4
# Pagination for API calls
paginator.api.maxPageSize=1000
# Default account info
default.admin.email=admin@example.com
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment