Fix searching in select2 when importing subscribers

[MAILPOET-2795]
This commit is contained in:
Ján Mikláš
2020-03-31 14:53:11 +02:00
committed by Veljko V
parent 143024afd8
commit c157082be2
2 changed files with 2 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ class ImportExportFactory {
return [
'id' => $segment['id'],
'name' => $segment['name'],
'text' => $segment['name'], // Required select2 property
'subscriberCount' => $segment['subscribers'],
];
}, $segments);