mysociety / fixmystreet

This is mySociety's popular map-based reporting platform: easy to install in new countries and regions
http://fixmystreet.org/
Other
501 stars 232 forks source link

[Surrey] CSV export includes subscribers to the report #5006

Open MorayMySoc opened 3 weeks ago

MorayMySoc commented 3 weeks ago

Adds a column, "Subscribers" which uses the problem alert method to populate the number for subscribers.

The original reporter is not automatically subscribed to their own report for Surrey so the figure is those that have subscribed after the report has been created.

Also adds initial test file

https://github.com/mysociety/societyworks/issues/4369

[skip changelog]

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 78.26087% with 5 lines in your changes missing coverage. Please review.

Project coverage is 82.60%. Comparing base (92861d1) to head (4a16261). Report is 7 commits behind head on surrey-cobrand.

Files Patch % Lines
perllib/FixMyStreet/Cobrand/Surrey.pm 61.53% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## surrey-cobrand #5006 +/- ## ================================================== + Coverage 82.56% 82.60% +0.03% ================================================== Files 392 392 Lines 30508 30558 +50 Branches 4815 4832 +17 ================================================== + Hits 25190 25242 +52 + Misses 3882 3881 -1 + Partials 1436 1435 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.