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

Birthdate filter does not hold the selected values #13231

Closed
sergiupacurariu opened this issue Jan 15, 2025 · 1 comment · Fixed by #13232
Closed

Birthdate filter does not hold the selected values #13231

sergiupacurariu opened this issue Jan 15, 2025 · 1 comment · Fixed by #13232
Assignees
Labels
bug An error or misbehavior of an existing feature (ticket type) qa-verified Issue has been tested and verified by QA

Comments

@sergiupacurariu
Copy link
Contributor

sergiupacurariu commented Jan 15, 2025

Bug Description

An user filters the Case grid and uses the birthdate fields in the filter. After applying the filter the filtered grid is listed. One of the results (eg. a Case) is accessed. After finishing the work for that Case the user might want to go back to the filtered grid and pick a new case from the filtered grid. When the user goes back to the grid it will find the filtered Cases but the filter will not have the birthdate fields filled like all other fields in the filter. In order to have the same query the birthdate filters must be added again.
The above described behavior must be fixed for: Persons, Cases and Contacts directories.

Reproduction Steps

  1. Go to cases
  2. Add dates to birthdate filter
    3.Apply the filters
    4.Go into one of the filtered grid results
  3. From the accessed case go back to filtered grid
  4. The values from the birthdate fields are not displayed anymore
  5. If any other adjustment is made to the filter it will also need to enter once more the birthdate fields
    ...

Expected Behavior

The birthdate fields should keep the dates inserted in the first place. No need to be inserted again once returning from a record listed in the grid.

Affected Area(s)

Web app

SORMAS Version

Sormas 1.100.0

Android version/Browser

Chrome

User Role(s)

National admin user

Server URL

No response

Additional Information

No response

@sergiupacurariu sergiupacurariu added the bug An error or misbehavior of an existing feature (ticket type) label Jan 15, 2025
@sergiupacurariu sergiupacurariu self-assigned this Jan 15, 2025
leventegal-she added a commit that referenced this issue Jan 16, 2025
…te_filter_issues

#13231 - Birthdate filter does not hold the selected values
@richardbartha
Copy link
Contributor

@richardbartha richardbartha added the qa-verified Issue has been tested and verified by QA label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error or misbehavior of an existing feature (ticket type) qa-verified Issue has been tested and verified by QA
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants