-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
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.
There's a couple of report builder things I was unsure about.
protected function get_default_tables(): array { | ||
return [ | ||
'user_preferences', | ||
'user_preferences_send', |
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.
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.
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 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'); |
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.
Ideally I wanted to add this condition to the entity but couldn't find a way.
479503e
to
8cb48f7
Compare
8cb48f7
to
a909a4b
Compare
Closes #60