Skip to content

Commit 0fde1bd

Browse files
Merge pull request #559 from topcoder-platform/gigs-change-aggs
fix bodyskill
2 parents d1ecc5e + 44b963d commit 0fde1bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/JobService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ async function searchJobs (currentUser, criteria, options = { returnAll: false }
618618
filter.skills = {
619619
[Op.contains]: [criteria.skill]
620620
}
621-
} else if (bodySkills && bodySkills > 0) {
621+
} else if (bodySkills && bodySkills.length > 0) {
622622
filter.skills = {
623623
[Op.or]: _.map(bodySkills, (item) => {
624624
return { [Op.contains]: [item] }

0 commit comments

Comments
 (0)