Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture group from hoisted categories. #5175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dracos
Copy link
Member

@dracos dracos commented Sep 18, 2024

If a category is in a group on its own, the reporting form hoists it up to the top level, to save a pointless extra step. In doing so, it was no longer getting the associated group to store for submission. Rewrite the input so it is clearer as to what we are receiving. For FD-4534 [skip changelog]

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

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

Project coverage is 82.47%. Comparing base (65b55d9) to head (1903243).

Files with missing lines Patch % Lines
perllib/FixMyStreet/App/Controller/Report/New.pm 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5175      +/-   ##
==========================================
- Coverage   82.48%   82.47%   -0.01%     
==========================================
  Files         406      406              
  Lines       31716    31718       +2     
  Branches     5044     5045       +1     
==========================================
- Hits        26162    26161       -1     
- Misses       4065     4067       +2     
- Partials     1489     1490       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

If a category is in a group on its own, the reporting form hoists it up
to the top level, to save a pointless extra step. In doing so, it was no
longer getting the associated group to store for submission. Rewrite the
input so it is clearer as to what we are receiving.
@dracos dracos force-pushed the fd-4535-hoisted-category-groups branch from 11ebf1b to 1903243 Compare September 18, 2024 16:50
@dracos dracos requested a review from davea September 19, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant