SRVKP-12177: fix to reset Pagination for ConsoleDataView when Filtering by name#1090
Conversation
|
@arvindk-softwaredev: This pull request references SRVKP-12177 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arvindk-softwaredev The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
5ce344d to
071ad22
Compare
|
Verified Verified.and.working.as.expected.mov |
Summary
Changes
The fix uses useSearchParams from react-router to reset page to 1 inside the name-filter handler in both components.
Test Plan
Screen Recordings
Before
SRVKP-12177_Before.mov
After Fix - Tekton Results
SRVKP-12177_AfterFix-TektonResults-1080p.mov
After Fix - Prometheus
SRVKP-12177_AfterFix-Prometheus-1080p.mov