Add support for more product ids in filter

[MAILPOET-3954]
This commit is contained in:
Jan Lysý
2021-11-25 17:37:50 +01:00
committed by Veljko V
parent bdd4587fd3
commit d3ee546518
4 changed files with 71 additions and 9 deletions

View File

@ -150,6 +150,8 @@ class DynamicSegments extends APIEndpoint {
return WPFunctions::get()->__('Please select a type for the comparison, an amount and a number of days.', 'mailpoet');
case InvalidFilterException::MISSING_FILTER:
return WPFunctions::get()->__('Please add at least one condition for filtering.', 'mailpoet');
case InvalidFilterException::MISSING_OPERATOR:
return WPFunctions::get()->__('Please select a type for the comparison.', 'mailpoet');
default:
return WPFunctions::get()->__('An error occurred while saving data.', 'mailpoet');
}