-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
[Bexley][WW] Display additional missed report details on confirmation page #5200
base: master
Are you sure you want to change the base?
[Bexley][WW] Display additional missed report details on confirmation page #5200
Conversation
… page Similar to what we display in the emails.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5200 +/- ##
==========================================
- Coverage 82.41% 82.39% -0.03%
==========================================
Files 407 408 +1
Lines 31789 32266 +477
Branches 5059 5081 +22
==========================================
+ Hits 26199 26584 +385
- Misses 4094 4186 +92
Partials 1496 1496
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one hook I don't think is needed, might be useful to have these for other cobrands as well and do the same thing potentially? Looks good :)
@@ -840,6 +840,9 @@ sub group_reports { | |||
my $report = shift @reports; | |||
if (@reports) { | |||
$report->set_extra_metadata(grouped_ids => [ map { $_->id } @reports ]); | |||
$report->set_extra_metadata( | |||
grouped_titles => [ map { $_->title } @reports ] ) | |||
if $c->cobrand->call_hook('group_report_titles'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy not to have this hook, just set it always, doesn't matter :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I can remove this, makes the code simpler.
…n confirmation page
47a38b5
to
a9fb62b
Compare
Similar to what we display in the emails.
For https://mysocietysupport.freshdesk.com/a/tickets/4606.
[skip changelog]