diff options
author | Struan Donald <struan@exo.org.uk> | 2018-02-14 17:40:56 +1300 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-03-15 13:18:11 +0000 |
commit | 4e31d58ac2ac23228d2d6c561901547d20f57ffb (patch) | |
tree | df228c7cbe9e86ee37dbb2f2657b92df198bb362 /perllib/FixMyStreet/SendReport | |
parent | f1c8da3ed21adc1c64e8276edc116af200b8883f (diff) |
send multiple photos over open311
Per cobrand configurable option to send multiple photos over open311
instead of just a single one. Does this by sending multiple media_url
parameters in the POST body.
The default remains to send the first photo associated with a report.
Diffstat (limited to 'perllib/FixMyStreet/SendReport')
-rw-r--r-- | perllib/FixMyStreet/SendReport/Open311.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/SendReport/Open311.pm b/perllib/FixMyStreet/SendReport/Open311.pm index ecda0bca1..98637dd1f 100644 --- a/perllib/FixMyStreet/SendReport/Open311.pm +++ b/perllib/FixMyStreet/SendReport/Open311.pm @@ -28,6 +28,7 @@ sub send { send_notpinpointed => 0, use_service_as_deviceid => 0, extended_description => 1, + multi_photos => 0, ); my $cobrand = $body->get_cobrand_handler || $row->get_cobrand_logged; |