Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

MemberCsvBulkLoader duplicateChecks


Reply


330 Views

Avatar
cwchong

Community Member, 13 Posts

24 May 2013 at 7:42am

The MemberCsvBulkLoader responsible for exporting Members in the Security tab has this field

public $duplicateChecks = array('Email' => 'Email);

Shouldn't this field be changed to a static field so that it can be set in the _config.php file as well?

Currently we can use
Member::set_unique_identifier_field('MyNonEmailIdentifier');
to set the desired ID field for our Member dataobject, would be nice if MemberCsvBulkLoader maps its duplicateChecks field to the static $unique_identifier_field in Member.