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

Initial improvements for bounce handling reporting #63

Merged
merged 5 commits into from
Nov 15, 2024

Conversation

bwalkerl
Copy link
Contributor

@bwalkerl bwalkerl commented Nov 14, 2024

Closes #60

Copy link
Contributor Author

@bwalkerl bwalkerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a couple of report builder things I was unsure about.

protected function get_default_tables(): array {
return [
'user_preferences',
'user_preferences_send',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be a table that exists? I couldn't find an easy way to join with own table and have a separate alias without a second table listed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, this is the kind of thing I'd ask in the dev chat


$this->set_main_table('user_preferences', $entitymainalias);
$this->add_entity($entitymain);
$this->add_base_condition_simple("{$entitymainalias}.name", 'email_bounce_count');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally I wanted to add this condition to the entity but couldn't find a way.

@bwalkerl bwalkerl force-pushed the dev-bounce-handling branch 2 times, most recently from 479503e to 8cb48f7 Compare November 14, 2024 04:13
@brendanheywood brendanheywood merged commit 91472c5 into MOODLE_404_STABLE Nov 15, 2024
15 checks passed
@brendanheywood brendanheywood deleted the dev-bounce-handling branch November 15, 2024 03:53
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.

Expose bounce count ratio in the bounce page
2 participants