aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/ResultSet/State.pm
Commit message (Collapse)AuthorAgeLines
* [TfL] Do not say council in not responsible.Matthew Somerville2019-12-11-1/+3
|
* [IsleOfWight] do not mention council in not responsibleStruan Donald2019-10-18-0/+1
| | | | | | Use Island Roads in place of council in not responsible message. Fixes mysociety/fixmystreet-freshdesk#93
* [Oxfordshire] Change update state display name.Matthew Somerville2019-08-23-0/+3
|
* generate update text in alerts if problem state has changedStruan Donald2017-10-05-1/+5
|
* Revert using memcached cache in testing.Matthew Somerville2017-09-18-1/+4
| | | | This can fail if the tests are being run in parallel.
* Fix issues with Open/Closed translated too early.v2.2Matthew Somerville2017-09-15-3/+9
| | | | | | | | | | | | | | It was possible for _hardcoded_states to be reached with no locale selected (e.g. bin/update-all-reports), causing an error trying to translate Open/Closed. But translating those there wasn't correct, because that would then be cached and returned even if a different language was being used. Caching was ignored in testing, which did not help. We no longer translate the state names in their objects, only upon display at the point that we will know the locale. We can't simply return the translation of Open/Closed because there may be entries in the translation table as well.
* Remove hardcoded states from templates.Matthew Somerville2017-08-31-1/+2
| | | | | | | | | | | State display names are now got from the database wherever they are displayed, including admin dropdowns, list filters, and update meta statements. This also covers the open/closed/fixed 'groups'. This also fixes a bug whereby if e.g. an update has problem_state investigating, the next update has no problem_state, and the last update has investigating again, it was previously showing a state change to investigating on that third update.
* Remove hardcoded states from Problem model.Matthew Somerville2017-08-31-0/+77
We keep the internal states hardcoded, plus the core open (confirmed) and closed ones, but the remainder are moved to the database.