Skip to content

Commit

Permalink
fix(filters): fixed bug with skills filter
Browse files Browse the repository at this point in the history
  • Loading branch information
AndySakov committed Feb 19, 2024
1 parent b7118e5 commit 57ae425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/jobs.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ export class JobsService {
]),
skills: apoc.coll.toSet([
(org:Organization)-[:HAS_JOBSITE|HAS_JOBPOST|HAS_STRUCTURED_JOBPOST*3]->(j:StructuredJobpost)-[:HAS_TAG]->(tag:Tag)-[:HAS_TAG_DESIGNATION]->(:AllowedDesignation|DefaultDesignation)
WHERE (j)-[:HAS_STATUS]->(:JobpostOnlineStatus) | { name: tag.name, jobs: apoc.coll.sum([(j:StructuredJobpost)-[:HAS_TAG]->(tag) | 1]) }
WHERE (j)-[:HAS_STATUS]->(:JobpostOnlineStatus) | { name: tag.name, jobs: apoc.coll.sum([(job:StructuredJobpost)-[:HAS_TAG]->(tag) WHERE (job)-[:HAS_STATUS]->(:JobpostOnlineStatus) | 1]) }
]),
fundingRounds: apoc.coll.toSet([
(org: Organization)-[:HAS_FUNDING_ROUND]->(round: FundingRound) WHERE EXISTS((org)-[:HAS_JOBSITE|HAS_JOBPOST|HAS_STRUCTURED_JOBPOST|HAS_STATUS*4]->(:JobpostOnlineStatus))
Expand Down

0 comments on commit 57ae425

Please sign in to comment.