Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adp_short_name filter param returns bad response when results are empty or not on page 1 #1114

Closed
2 tasks
jdaigneau5 opened this issue Aug 8, 2023 · 0 comments
Assignees

Comments

@jdaigneau5
Copy link
Collaborator

Summary

When calling the GET /cve endpoint with the adp_short_name parameter, the response will show and empty result set but with a total count if no records have an ADP container created by the set adp_short_name. The same behavior happens if a record does have an ADP container by the selected user but not on the returned page of records.

{ "cveRecords": [], "totalCount": 10421, "itemsPerPage": 500, "pageCount": 21, "currentPage": 1, "prevPage": null, "nextPage": 2 }

Definition of Done

  • GET /cve should only return and empty array if no records contain an ADP container created by adp_short_name
  • GET /cve should return all records with an ADP container created by adp_short_name from every page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants