Skip to content

Commit c399d0a

Browse files
authored
Merge pull request #581 from yoution/issue-516
fix: issue topcoder-archive/topcoder-platform-taas-app#516
2 parents e465860 + 52ec2b8 commit c399d0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/services/TeamService.js

+6
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,13 @@ async function _validateRoleSearchRequests (roleSearchRequestIds) {
11361136
}
11371137
if (!roleSearchRequest.jobDescription) {
11381138
roleSearchRequests[roleSearchRequestId].jobDescription = role.description
1139+
// search from skill list
1140+
if (!roleSearchRequests[roleSearchRequestId].jobDescription) {
1141+
const skills = await getSkillNamesByIds(roleSearchRequest.skills)
1142+
roleSearchRequests[roleSearchRequestId].jobDescription = skills.join(',')
1143+
}
11391144
}
1145+
11401146
roleSearchRequests[roleSearchRequestId].resourceType = role.name
11411147
}))
11421148
return roleSearchRequests

0 commit comments

Comments
 (0)