diff --git a/app/filters/challengeLinks.filter.js b/app/filters/challengeLinks.filter.js index 92aaee5e9..5f3922110 100644 --- a/app/filters/challengeLinks.filter.js +++ b/app/filters/challengeLinks.filter.js @@ -38,7 +38,7 @@ import angular from 'angular' case 'data': return String.supplant('https://apps.{domain}/forums/?module=Category&categoryID={forumId}', data) case 'design': - return String.supplant('https://apps.{domain}/forums/?module=ThreadList&forumId={forumId}', data) + return String.supplant('https://apps.{domain}/forums/?module=ThreadList&forumID={forumId}', data) } /*eslint no-fallthrough:0*/ case 'submissions': diff --git a/app/filters/filters.spec.js b/app/filters/filters.spec.js index 506fbd153..94a2a775f 100644 --- a/app/filters/filters.spec.js +++ b/app/filters/filters.spec.js @@ -82,7 +82,7 @@ describe('filters', function() { subTrack : 'WEB_DESIGN' } expect(challengeLinksFilter(_ch, 'detail')).to.be.equal('https://www.'+domain+'/challenge-details/1/?type=design') - expect(challengeLinksFilter(_ch, 'forums')).to.be.equal('https://apps.'+domain+'/forums/?module=ThreadList&forumId=2') + expect(challengeLinksFilter(_ch, 'forums')).to.be.equal('https://apps.'+domain+'/forums/?module=ThreadList&forumID=2') expect(challengeLinksFilter(_ch, 'registrants')).to.be.equal('https://www.'+domain+'/challenge-details/1/?type=design#viewRegistrant') expect(challengeLinksFilter(_ch, 'submissions')).to.be.equal('https://www.'+domain+'/challenge-details/1/?type=design#submissions') })