-
Notifications
You must be signed in to change notification settings - Fork 212
[$50]Past contests : sort by most recent does not work as expected #4716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Contest https://www.topcoder.com/challenges/30136487 has been created for this ticket. |
Contest https://www.topcoder.com/challenges/30136487 has been updated - it has been assigned to cagdas001. |
Fix for MOST_RECENT, TIME_TO_REGISTER and TIME_TO_SUBMIT sortings. * Since the V5 API returns inconistent values for (`registrationStartDate`, `registrationEndDate`, `submissionStartDate`, `submissionEndDate`), these dates will now be extracted from `challenge.phases` array. Reference topcoder-platform#4715, topcoder-platform#4716
PR: #4737 |
* Add `phaseStartDate` and `phaseEndDate` helper functions at `challenge-detail/helper` to get the correct start/end date of a phase. * `TIME_TO_REGISTER`, `TIME_TO_SUBMIT` and `MOST_RECENT` sorting functions updated to reflect above change. * `ProgressBarTooltip` and `ChallengeCard/Status` updated to display correct phase start/end dates. Addresses topcoder-platform#4715, topcoder-platform#4716
New PR also updates the challenge listing page, so you'll see the correct phase start/end dates. |
@SathyaJayabal The sort order seems same. Only end dates have changed. Pls clarify. |
@lakshmiathreya the most recent sorting sorts challenges by start date, in descending order. You should check the start dates of challenges. |
Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30136487 |
topcoder-platform/challenge-api#260
The text was updated successfully, but these errors were encountered: