Skip to content
Snippets Groups Projects
Commit 762919ed authored by walter's avatar walter
Browse files

fix for max results for ResourceHandler

the api has a default list size of 25. as the get requests have size 50.
we also need to set the size to 50 for the resourceHandler get request.
parent 8140a5d5
No related branches found
No related tags found
1 merge request!110fix for max results for ResourceHandler
......@@ -246,7 +246,8 @@ export class ResourceHandler {
.forEach((key) => { fullQuery[key] = JSON.stringify(query[key]); });
// now we can acutally build the query string
return `?${m.buildQueryString(fullQuery)}`;
const maxResults = 50; // max_results for setting the page size of the return.
return `?${m.buildQueryString(fullQuery)}&max_results=${maxResults}`;
}
networkError(e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment