Skip to content

Commit 9b3ef86

Browse files
authored
Merge pull request #4424 from simranb86/issue_4401
fix for Issue #4401
2 parents 8cda8d0 + 52978ec commit 9b3ef86

File tree

1 file changed

+2
-2
lines changed
  • src/shared/utils/challenge-listing

1 file changed

+2
-2
lines changed

src/shared/utils/challenge-listing/sort.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ export default {
2929
name: 'Most recent',
3030
},
3131
[SORTS.NUM_REGISTRANTS]: {
32-
func: (a, b) => b.numRegistrants - a.numRegistrants,
32+
func: (a, b) => b.numOfRegistrants - a.numOfRegistrants,
3333
name: '# of registrants',
3434
},
3535
[SORTS.NUM_SUBMISSIONS]: {
36-
func: (a, b) => b.numSubmissions - a.numSubmissions,
36+
func: (a, b) => b.numOfSubmissions - a.numOfSubmissions,
3737
name: '# of submissions',
3838
},
3939
[SORTS.PRIZE_HIGH_TO_LOW]: {

0 commit comments

Comments
 (0)