mysociety / fixmystreet

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

[FMS] Make sure contributed_by recorded if not logged in #4992

Closed MorayMySoc closed 4 months ago

MorayMySoc commented 4 months ago

contributed_by is now set if a user logs in during report making process.

Results in dashboard report now showing roles filter correctly when staff user logs in as part of report making process.

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

[skip changelog]

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.70%. Comparing base (818a840) to head (7171d01).

:exclamation: Current head 7171d01 differs from pull request most recent head acf3c69

Please upload reports for the commit acf3c69 to get more accurate results.

Files Patch % Lines
perllib/FixMyStreet/App/Controller/Report/New.pm 75.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4992 +/- ## ========================================== + Coverage 82.60% 82.70% +0.09% ========================================== Files 393 393 Lines 30752 31031 +279 Branches 4877 4970 +93 ========================================== + Hits 25403 25663 +260 - Misses 3897 3901 +4 - Partials 1452 1467 +15 ```

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