-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
buga bug discovered in the production systema bug discovered in the production systemreportsadding or adjusting reportsadding or adjusting reports
Description
Description
When searching with fields that have a space in their value on the reporting dashboard the view is rendered twice. This causes the data to be requested twice, which creates unnecessary strain on the server and could lead to memory quota issues and crashes when searching for large datasets. Behavior occurs across all reports.
Steps to Reproduce
- Go to the reporting dashboard
- Click on Inquiry Report
- Select any fiscal year button
- Hit search
- Note that there is a single XHR request made to get Inquiry data
- Select 'Family' from the Inquirer dropdown
- Hit search
- Note that there is a single XHR request made to get Inquiry data
- Select either 'Site Visitor' or 'Social Worker' from the Inquirer dropdown
- Hit search
- Note that there are two simultaneous and identical XHR requests made to get Inquiry data
Expected Behavior
The view should only render once when searching for data.
Actual Behavior
In some cases, the view renders twice, causing the report data to be fetched twice.
Metadata
Metadata
Assignees
Labels
buga bug discovered in the production systema bug discovered in the production systemreportsadding or adjusting reportsadding or adjusting reports