Closed struan closed 5 days ago
The front-end work for this should fall out of https://github.com/mysociety/caps/issues/694, once that’s implemented a more obvious filtering interface.
This ticket, then, only covers the remaining back-end work, to add metro/non-metro filtering to the Django form (and Council model?).
Just added a Django filter that allows splitting the "District" scoring group into councils with an authority_type
of either MD
or NMD
, only to spend an hour trying to diagnose why it wouldn’t work.
Turns out, the "District" scoring group is only NMD
councils. MD
councils are one of the council types in the "Single Tier" scoring group 🐵
Will look at the code to see how (if!) we’ve handled this for other filters, which apply to different scoring groups…
There's been a request from a council officer that this would be a helpful distinction to be able to make.