From db1d0af00c8e75e281e231d8103670cb3d559839 Mon Sep 17 00:00:00 2001 From: Tom Ladendorf Date: Wed, 16 Dec 2015 14:20:40 -0600 Subject: [PATCH 1/2] updated registrants link --- app/filters/challengeLinks.filter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } From e4045df9578a4b6e41af188b511a45d92c8ed8e6 Mon Sep 17 00:00:00 2001 From: Tom Ladendorf Date: Wed, 16 Dec 2015 16:16:19 -0600 Subject: [PATCH 2/2] update unit test --- app/filters/filters.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }); });