aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/ResultSet/Body.pm
Commit message (Collapse)AuthorAgeLines
* Have body.url work in hashref lookup.Matthew Somerville2018-10-10-0/+8
| | | | | | | body.url could still be in use by old-school /reports table index pages (though they were dropped in 2.1, so a cobrand would have to have overridden it since then) and the update to speed up body lists in #2248 broke it. This puts it back in minimal form.
* Speed up fetching lists of bodies.Matthew Somerville2018-09-25-5/+74
| | | | | | Use a HashRefInflator wherever all_sorted is used, with consequential changes to deal with it now not being an object (e.g. add some with_* functions for manual fetching of extra data).
* Add some new Body model helper methods.Matthew Somerville2018-01-03-3/+72
| | | | And use the existing ones more.
* Add fn to fetch bodies plus the translated names.Matthew Somerville2017-08-15-0/+11
|
* Allow bodies to span multiple area IDs, and areas can be covered by more ↵Matthew Somerville2012-12-19-0/+17
than one body.