agrc / Crash-web

The website for crash
MIT License
3 stars 0 forks source link

Crash Severity No Injury and Injury filters are broken #47

Closed wsjones closed 9 years ago

wsjones commented 9 years ago

When clicking on 'No Injury' or 'Injury' and then 'Apply' no crashes are displayed on the map.

Further info, if needed: No Injury is defined as CRASH_SEVERITY_ID = 1 Injury is defined as CRASH_SEVERITY_ID = 2, 3, OR 4 Fatal is defined as CRASH_SEVERITY_ID = 5

steveoh commented 9 years ago

The code is using None Non-Fatal Fatal for it's values when the database is using No Injury, Injury, Fatal. This was made to the db seeder in July and partially fixed in the web app. I can push a new fix out hopefully tomorrow.

steveoh commented 9 years ago

fixed in 1.0.1