From 2a7ec1073f995fcc395aef5d8f2c4466029f9c46 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 25 Apr 2019 23:56:18 +0200 Subject: [PATCH] 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. --- app/services/kredits.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/kredits.js b/app/services/kredits.js index 87d2fed..12cd42c 100644 --- a/app/services/kredits.js +++ b/app/services/kredits.js @@ -170,7 +170,7 @@ export default Service.extend({ }, getContributions() { - return this.kredits.Contribution.all() + return this.kredits.Contribution.all({page: {size: 200}}) .then(contributions => { return contributions.map(contribution => { contribution.contributor = this.contributors.findBy('id', contribution.contributorId.toString());