mysociety/fixmystreet — Issue #218: 'use mySociety::VotingArea' in Reports.pm seems to prevent wards appearing in not-UK places
Author: handelaar
Created: 2012-02-09 00:40:13+00:00
State: open

Specifically,

Only by removing line 9 of Reports.pm can I set a different array of $council_child_types in a cobrand module. It appears to be impossible to override the commonlib definitions of what a 'child' is.

New cobrand module sets new values for $council_parent_types and $council_child_types, and overrides ward() and ward_check(). Removing the line mentioned here from Reports.pm makes it work. Not doing so makes it not work.

There is every chance I'm missing something, in which case do let me know what...