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

Commit 6f1c26a

Browse files
committed
Added submissionEndDate in allowable sort columns.
1 parent 437d5f3 commit 6f1c26a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

actions/srmChallenges.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var ALLOWABLE_SORT_COLUMN = [
2121
"roundId", "name", "startDate", "totalCompetitors", "divICompetitors", "divIICompetitors",
2222
"divITotalSolutionsSubmitted", "divIAverageSolutionsSubmitted", "divIITotalSolutionsSubmitted",
2323
"divIIAverageSolutionsSubmitted", "divITotalSolutionsChallenged",
24-
"divIAverageSolutionsChallenged", "divIITotalSolutionsChallenged", "divIIAverageSolutionsChallenged"
24+
"divIAverageSolutionsChallenged", "divIITotalSolutionsChallenged", "divIIAverageSolutionsChallenged", "submissionEndDate"
2525
];
2626

2727
/**
@@ -139,6 +139,7 @@ exports.searchSRMChallenges = {
139139
roundId: item.round_id,
140140
name: item.name,
141141
startDate: item.start_date,
142+
submissionEndDate: item.end_date,
142143
totalCompetitors: item.total_competitors,
143144
divICompetitors: item.div_i_competitors,
144145
divIICompetitors: item.div_ii_competitors,

0 commit comments

Comments
 (0)