Adds an "Advanced filter" for authority_type, on the Single Tier scorecard.
While I was there, I also fixed a long-standing code smell, where we had been using authority_type to refer to both actual MapIt council authority types (eg: "UTA", "DIS", "CTY") and Scorecards scoring groups (eg: "single-tier").
This makes the PR look much more complex than it actually is. Best to review each commit separately!
Thanks @struan! I spotted that very cludgey filter description appending behaviour but didn’t want to get even further into the weeds fixing it. Glad you did it instead of me! 🤣
Fixes #611.
Adds an "Advanced filter" for
authority_type
, on the Single Tier scorecard.While I was there, I also fixed a long-standing code smell, where we had been using
authority_type
to refer to both actual MapIt council authority types (eg: "UTA", "DIS", "CTY") and Scorecards scoring groups (eg: "single-tier").This makes the PR look much more complex than it actually is. Best to review each commit separately!