diff --git a/app/filters/challengeLinks.filter.js b/app/filters/challengeLinks.filter.js index cf65b74b1..97c762922 100644 --- a/app/filters/challengeLinks.filter.js +++ b/app/filters/challengeLinks.filter.js @@ -16,7 +16,7 @@ case 'forums': return String.supplant('https://apps.{domain}/forums/?module=ThreadList&forumID={forumId}', data); case 'registrants': - return String.supplant('https://community.{domain}/longcontest/?module=ViewStandings&rd={roundId}', data); + return String.supplant('https://community.{domain}/longcontest/?module=ViewRegistrants&rd={roundId}', data); case 'detail': return String.supplant('https://community.{domain}/longcontest/stats/?module=ViewOverview&rd={roundId}', data); } diff --git a/app/filters/filters.spec.js b/app/filters/filters.spec.js index 0485c152e..57213ea63 100644 --- a/app/filters/filters.spec.js +++ b/app/filters/filters.spec.js @@ -95,7 +95,7 @@ describe('filters', function() { }; expect(challengeLinksFilter(_ch, 'detail')).to.be.equal('https://community.'+domain+'/longcontest/stats/?module=ViewOverview&rd=3'); expect(challengeLinksFilter(_ch, 'forums')).to.be.equal('https://apps.'+domain+'/forums/?module=ThreadList&forumID=2'); - expect(challengeLinksFilter(_ch, 'registrants')).to.be.equal('https://community.'+domain+'/longcontest/?module=ViewStandings&rd=3'); + expect(challengeLinksFilter(_ch, 'registrants')).to.be.equal('https://community.'+domain+'/longcontest/?module=ViewRegistrants&rd=3'); }); });