Skip to content

Commit 23ff0a3

Browse files
authored
Merge pull request #3366 from topcoder-platform/hot-fix
Hot fix
2 parents 41b0f1e + 4364547 commit 23ff0a3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/shared/containers/challenge-listing/Listing/index.jsx

+5
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,18 @@ export class ListingContainer extends React.Component {
117117
const {
118118
communitiesList,
119119
selectedCommunityId,
120+
groupIds,
121+
communityId,
120122
} = this.props;
121123
let { filter } = this.props;
122124
let communityFilter = communitiesList.data.find(
123125
item => item.communityId === selectedCommunityId,
124126
);
125127
if (communityFilter) communityFilter = communityFilter.challengeFilter;
126128
if (communityFilter) filter = combine(filter, communityFilter);
129+
if (communityId && groupIds.length > 0) {
130+
filter.groupIds = groupIds;
131+
}
127132
return {
128133
back: mapToBackend(filter),
129134
front: filter,

src/shared/routes/Communities/Zurich/Routes.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function Zurich({ base, meta, userGroups }) {
8181
meta,
8282
newChallengeDetails: true,
8383
ChallengeListingBanner,
84+
groupIds: meta.groupIds,
8485
})}
8586
exact
8687
path={`${base}/challenges`}

0 commit comments

Comments
 (0)