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

Commit 2a21cad

Browse files
committed
Merge pull request #614 from appirio-tech/feature/tom-fix-data-links
updated registrants link
2 parents 31b215f + e4045df commit 2a21cad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/filters/challengeLinks.filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
case 'forums':
1717
return String.supplant('https://apps.{domain}/forums/?module=ThreadList&forumID={forumId}', data);
1818
case 'registrants':
19-
return String.supplant('https://community.{domain}/longcontest/?module=ViewStandings&rd={roundId}', data);
19+
return String.supplant('https://community.{domain}/longcontest/?module=ViewRegistrants&rd={roundId}', data);
2020
case 'detail':
2121
return String.supplant('https://community.{domain}/longcontest/stats/?module=ViewOverview&rd={roundId}', data);
2222
}

app/filters/filters.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe('filters', function() {
9595
};
9696
expect(challengeLinksFilter(_ch, 'detail')).to.be.equal('https://community.'+domain+'/longcontest/stats/?module=ViewOverview&rd=3');
9797
expect(challengeLinksFilter(_ch, 'forums')).to.be.equal('https://apps.'+domain+'/forums/?module=ThreadList&forumID=2');
98-
expect(challengeLinksFilter(_ch, 'registrants')).to.be.equal('https://community.'+domain+'/longcontest/?module=ViewStandings&rd=3');
98+
expect(challengeLinksFilter(_ch, 'registrants')).to.be.equal('https://community.'+domain+'/longcontest/?module=ViewRegistrants&rd=3');
9999
});
100100
});
101101

0 commit comments

Comments
 (0)