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
{{ message }}
Repository navigation
PayerDataExchange: Add server-side search and status filtering to getPdexDataRequests API #271
The PayerDataExchange page (apps/payer-admin-app/src/pages/PayerDataExchange.tsx) currently fetches a single page of results from getPdexDataRequests(ITEMS_PER_PAGE, offset) and applies searchQuery and selectedStatuses filters client-side. This causes a mismatch where totalCount and pagination reflect the unfiltered result set, potentially hiding real matches on other pages and showing a misleading "No requests found" state.
Expected Behaviour
getPdexDataRequests should accept searchQuery and selectedStatuses (or equivalent) as query parameters.
The API response's count should reflect the filtered total so that pagination is accurate.
The PayerDataExchange component should pass searchQuery and selectedStatuses into getPdexDataRequests and remove local filtering logic.
Steps to Reproduce / Context
Open the Payer Data Exchange page with more than one page of data.
Enter a search term or select a status filter.
Only the currently fetched page is filtered; items on other pages that match are not shown.
Acceptance Criteria
getPdexDataRequests API (backend) supports search and status query parameters.
getPdexDataRequests TypeScript client in apps/payer-admin-app/src/api/pdex.ts passes those parameters to the API.
PayerDataExchange passes searchQuery and selectedStatuses to getPdexDataRequests.
totalCount is updated from the filtered API response so pagination is accurate.
Local client-side filtering in PayerDataExchange is removed once API filtering is available.
Activity