Jump to:

5541 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » MemberCsvBulkLoader duplicateChecks

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 253 Views
  • cwchong
    Avatar
    Community Member
    13 Posts

    MemberCsvBulkLoader duplicateChecks Link to this post

    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.

    253 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.