We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7521450 commit 75b1ae5Copy full SHA for 75b1ae5
src/shared/utils/challenge-listing/sort.js
@@ -26,22 +26,13 @@ export default {
26
name: 'Current phase',
27
},
28
[SORTS.MOST_RECENT]: {
29
- // func: (a, b) => moment(b.registrationStartDate).diff(a.registrationStartDate),
30
name: 'Most recent',
31
order: 'desc',
32
33
[SORTS.MOST_RECENT_START_DATE]: {
34
35
36
37
- // [SORTS.NUM_REGISTRANTS]: {
38
- // func: (a, b) => b.numOfRegistrants - a.numOfRegistrants,
39
- // name: '# of registrants',
40
- // },
41
- // [SORTS.NUM_SUBMISSIONS]: {
42
- // func: (a, b) => b.numOfSubmissions - a.numOfSubmissions,
43
- // name: '# of submissions',
44
45
[SORTS.PRIZE_HIGH_TO_LOW]: {
46
func: (a, b) => b.totalPrize - a.totalPrize,
47
name: 'Prize high to low',
0 commit comments