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

Enable repeated search in DocumentUnitSearchEntryForm #1525

Merged
merged 4 commits into from
May 28, 2024

Conversation

anne-ds
Copy link
Contributor

@anne-ds anne-ds commented May 24, 2024

For the technical reviewer:

I need some hint for the test which works when I run all tests in documentUnitSearchEntryForm.spec.ts at once but which fails when started individually.

RISDEV-4003

anne-ds and others added 4 commits May 24, 2024 16:19
RISDEV-4003
In order to avoid having too many conditionals and variables (e.g. isIdenticalSearch), this solution decouples the search completely from the route. The route is still pushed to the router, in order to maintain the search on reload, but now the search is always triggered, when the search button is clicked and on first mount.
This search has been triggered twice
RISDEV-4003
@anne-ds anne-ds marked this pull request as ready for review May 28, 2024 07:35
@anne-ds anne-ds merged commit bae763d into main May 28, 2024
24 checks passed
@anne-ds anne-ds deleted the fix/RISDEV-4003_enable_repeated_search branch May 28, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants