Add date creation to the default fields
[MAILPOET-3393]
This commit is contained in:
@@ -123,7 +123,7 @@ jQuery(document).ready(() => {
|
|||||||
'list_status',
|
'list_status',
|
||||||
'global_status',
|
'global_status',
|
||||||
'subscribed_ip',
|
'subscribed_ip',
|
||||||
'last_subscribed_at',
|
'created_at',
|
||||||
'confirmed_at',
|
'confirmed_at',
|
||||||
'confirmed_ip',
|
'confirmed_ip',
|
||||||
]).trigger('change');
|
]).trigger('change');
|
||||||
|
@@ -70,7 +70,7 @@ class ImportExportFactory {
|
|||||||
return [
|
return [
|
||||||
'id' => $fieldId,
|
'id' => $fieldId,
|
||||||
'name' => $fieldName,
|
'name' => $fieldName,
|
||||||
'type' => ($fieldId === 'confirmed_at') ? 'date' : null,
|
'type' => ($fieldId === 'confirmed_at' || $fieldId === 'created_at') ? 'date' : null,
|
||||||
'custom' => false,
|
'custom' => false,
|
||||||
];
|
];
|
||||||
}, array_keys($subscriberFields), $subscriberFields);
|
}, array_keys($subscriberFields), $subscriberFields);
|
||||||
|
Reference in New Issue
Block a user