Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 767798c

Browse files
authored
Merge pull request #1165 from Colinh84/issue_1164
Issue 1164: Show all my challenges in listings
2 parents 0a1c2c3 + b66b9d8 commit 767798c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/listings/listings.controller.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import { loadUser } from '../services/userv3.service.js'
5656
}
5757

5858
var challengeParams = {
59-
limit: 8,
59+
limit: 100,
6060
orderBy: 'submissionEndDate',
6161
filter: 'status=active'
6262
}
@@ -81,7 +81,7 @@ import { loadUser } from '../services/userv3.service.js'
8181
userChallenges = _.sortBy(userChallenges, function(n) {
8282
return n.registrationEndDate
8383
})
84-
vm.myChallenges = userChallenges.reverse().slice(0, 8)
84+
vm.myChallenges = userChallenges.reverse().slice(0, userChallenges.length)
8585

8686
// update myChallenges
8787
$scope.reactProps = {

0 commit comments

Comments
 (0)