IA-3968: Navigation of pages (Orgunit Search) is reset to 1 after going to page 2 #1987
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Filter org units by 'New' validation status (00:04)
Click the 'Search' button (00:06)
Navigate to page 2 (00:10)
Navigate to page 3 (00:17)
Observe the page reverts back to page 1 (00:20)
JamScreenRecording-IA-3968.webm
Related JIRA tickets : IA-3968
Self proofreading checklist
Changes
Explain the changes that were made.
resetPageToOne
logicTableWithDeepLink
useQueryUpdateListener
hook to watch a react-query dataset and trigger a function. on updateHow to test
Launch a search on org units.
multi select some
Change you filters and search again, selection should be enmpty
Also make sure pagination is working corectly
Print screen / video
Screen.Recording.2025-02-19.at.15.58.16.mov
Follow the Conventional Commits specification
The merge message of a pull request must follow the Conventional Commits specification.
This convention helps to automatically generate release notes.
Use lowercase for consistency.
Example:
Note that the Jira reference is preceded by a line break.
Both the line break and the Jira reference are entered in the Add an optional extended description… field.