When a user selects multiple locations and then views the collision directory report, the current behaviour dumps all the locations in one report with no distinction between them. For example, this is the report for 3 separate locations:
The new behaviour adds a drop down at the top of the report that allows the user to pick which location they'd like to view a report for.
This allows for users to differentiate between locations and make more sense of the collision reports.
This does not change how pdf and csv exports are handled, they still dump all three locations into one report. That is a feature that needs to be worked on after this.
Tests
Tested with multiple locations, locations with no collisions, mvcrs downloaded successfully as well.
Issue Addressed
This PR addresses MOVE-59
Description
When a user selects multiple locations and then views the collision directory report, the current behaviour dumps all the locations in one report with no distinction between them. For example, this is the report for 3 separate locations:
The new behaviour adds a drop down at the top of the report that allows the user to pick which location they'd like to view a report for.
This allows for users to differentiate between locations and make more sense of the collision reports.
This does not change how pdf and csv exports are handled, they still dump all three locations into one report. That is a feature that needs to be worked on after this.
Tests
Tested with multiple locations, locations with no collisions, mvcrs downloaded successfully as well.