diff options
| author | Dave Arter <davea@mysociety.org> | 2015-03-10 16:20:22 +0000 |
|---|---|---|
| committer | Steven Day <steve@mysociety.org> | 2015-06-29 12:43:01 +0100 |
| commit | 5313adb5005a91648a98525d73b6a37b661f4b22 (patch) | |
| tree | b2b8ec6920f19b2e11adce086a19ee1ef53cae54 /perllib/FixMyStreet/Cobrand/Default.pm | |
| parent | 53314bb25e2ff7ddde33fabcd2f4505d09fcc220 (diff) | |
Allow cobrands to override the default 'state' filter for map pins
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
| -rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index 228865c78..590288050 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -366,6 +366,15 @@ Return the default maximum age for pins. sub on_map_default_max_pin_age { return '6 months'; } +=head2 on_map_default_states + +Return the default filter to use for report states on map page. +Return undef to show all visible reports. + +=cut + +sub on_map_default_states { return undef; } + =head2 allow_photo_upload Return a boolean indicating whether the cobrand allows photo uploads |
