You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When searching for data, you filter down to a smaller set of results and then paginate, like 20 out of 5000. For the client side to know how many pages are remaining and the total number of results in the search, we should send the client this number.
We can send the resultsCount with the response and the client will be able to choose how they paginate.
For example if there's 100 results, the client can then paginate with pages of 25 and know there are 4 pages or they can show pages with 50 results and know there are two pages. However, right now, there's no way for the client to know what is remaining if there is a limit used.
Requirements
Add resultsCount to the response for facilitySearch
Add resultsCount to the response for healthcareProfessionalSearch
Add resultsCount to the response for SubmissionSearch
The text was updated successfully, but these errors were encountered:
Summary
When searching for data, you filter down to a smaller set of results and then paginate, like 20 out of 5000. For the client side to know how many pages are remaining and the total number of results in the search, we should send the client this number.
We can send the resultsCount with the response and the client will be able to choose how they paginate.
For example if there's 100 results, the client can then paginate with pages of 25 and know there are 4 pages or they can show pages with 50 results and know there are two pages. However, right now, there's no way for the client to know what is remaining if there is a limit used.
Requirements
The text was updated successfully, but these errors were encountered: