Skip to content

Commit

Permalink
Merge pull request #1166 from appirio-tech/dev
Browse files Browse the repository at this point in the history
My challenge fix
  • Loading branch information
ajefts authored Apr 7, 2017
2 parents 6606883 + 767798c commit 9c12c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/listings/listings.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import { loadUser } from '../services/userv3.service.js'
}

var challengeParams = {
limit: 8,
limit: 100,
orderBy: 'submissionEndDate',
filter: 'status=active'
}
Expand All @@ -81,7 +81,7 @@ import { loadUser } from '../services/userv3.service.js'
userChallenges = _.sortBy(userChallenges, function(n) {
return n.registrationEndDate
})
vm.myChallenges = userChallenges.reverse().slice(0, 8)
vm.myChallenges = userChallenges.reverse().slice(0, userChallenges.length)

// update myChallenges
$scope.reactProps = {
Expand Down

0 comments on commit 9c12c08

Please sign in to comment.