Open
Description
Description
We have and endpoint GET /taas-teams/{{projectId}}/jobs/{{jobId}}
which returns a Job with Job Candidates inside candidates
property:
Though at the moment it doesn't return more than 10 Job Candidates even though there more Job Candidates associated.
Steps to reproduce
- Use Postman
- Create a job using
Jobs -> create job candidate with booking manager
- Create 1 Job Candidate using
Job Candidates -> create job candidate with booking manager
- Validate that this one Job Candidate is returned when using
TaaS Teams -> GET /taas-teams/:id with booking manager
- Now create 9 more Job Candidates using
Job Candidates -> create job candidate with booking manager
- Validate that all 10 Job Candidates are returned when using
TaaS Teams -> GET /taas-teams/:id with booking manager
- Now create 1 or 2 more Job Candidates using
Job Candidates -> create job candidate with booking manager
- Observer that
TaaS Teams -> GET /taas-teams/:id with booking manager
still returns only 10 Job Candidates
Task
- Fix this issue so endpoint
GET /taas-teams/{{projectId}}/jobs/{{jobId}}
returns ALL associated Job Candidates - This should be fixed whether data come from ES or DB