File tree 2 files changed +4
-3
lines changed
containers/challenge-detail 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default function ChallengeTags(props) {
66
66
setImmediate ( ( ) => setChallengeListingFilter ( { types : [ challengeType . abbreviation ] } ) )
67
67
)
68
68
}
69
- to = { `${ challengesUrl } ?filter[ types][0 ]=${ encodeURIComponent ( challengeType . abbreviation ) } ` }
69
+ to = { `${ challengesUrl } ?types[ ]=${ encodeURIComponent ( challengeType . abbreviation ) } ` }
70
70
>
71
71
{ challengeType . name }
72
72
</ TrackTag >
@@ -90,7 +90,7 @@ export default function ChallengeTags(props) {
90
90
key = { tag }
91
91
onClick = { ( ) => setImmediate ( ( ) => setChallengeListingFilter ( { tags : [ tag ] } ) )
92
92
}
93
- to = { `${ challengesUrl } ?filter[ tags][0 ]=${
93
+ to = { `${ challengesUrl } ?tags[ ]=${
94
94
encodeURIComponent ( tag ) } `}
95
95
>
96
96
{ tag }
Original file line number Diff line number Diff line change @@ -878,8 +878,9 @@ const mapDispatchToProps = (dispatch) => {
878
878
setChallengeListingFilter : ( filter ) => {
879
879
const cl = challengeListingActions . challengeListing ;
880
880
const cls = challengeListingSidebarActions . challengeListing . sidebar ;
881
- dispatch ( cl . setFilter ( filter ) ) ;
881
+ const newFilter = _ . assign ( { } , { types : [ ] , tags : [ ] } , filter ) ;
882
882
dispatch ( cls . selectBucket ( BUCKETS . ALL ) ) ;
883
+ dispatch ( cl . setFilter ( newFilter ) ) ;
883
884
} ,
884
885
setSpecsTabState : state => dispatch ( pageActions . page . challengeDetails . setSpecsTabState ( state ) ) ,
885
886
unregisterFromChallenge : ( auth , challengeId ) => {
You can’t perform that action at this time.
0 commit comments