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:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user