Add a code comment
[MAILPOET-3220]
This commit is contained in:
@ -92,6 +92,8 @@ class MailPoetCustomFields implements Filter {
|
||||
} elseif ($operator === 'after') {
|
||||
$queryBuilder->andWhere("subscribers_custom_field.value > $valueParam");
|
||||
} else {
|
||||
// we always save full date in the database: 2018-03-01 00:00:00
|
||||
// so this works even for year_month where we save the first day of the month
|
||||
$queryBuilder->andWhere("subscribers_custom_field.value = $valueParam");
|
||||
}
|
||||
return $queryBuilder;
|
||||
|
Reference in New Issue
Block a user