List 200 contribtuions per page

Kicking the can a bit further down the road...
Currently we do not have any pagination and we got already more
contributions than the default per page setting.
This commit is contained in:
2019-04-25 23:56:18 +02:00
parent d02fb4716a
commit 2a7ec1073f
+1 -1
View File
@@ -170,7 +170,7 @@ export default Service.extend({
}, },
getContributions() { getContributions() {
return this.kredits.Contribution.all() return this.kredits.Contribution.all({page: {size: 200}})
.then(contributions => { .then(contributions => {
return contributions.map(contribution => { return contributions.map(contribution => {
contribution.contributor = this.contributors.findBy('id', contribution.contributorId.toString()); contribution.contributor = this.contributors.findBy('id', contribution.contributorId.toString());