Export selected fields doesn't export related contacts if related info is present in mapping
Steps to replicate
- Search > Find Contacts
- Click the Search button > results in X contacts
- Select All contacts
- Actions > Export Contacts
- Use Export PRIMARY fields, all X contacts are exported
- Now try Select Fields for Export with some fields as related fields like employer, spouse of id etc
- DO NOT MERGE
- Export > only X-N contact records where N is the contacts that appeared in related contacts fields
I replicated this on dmaster and seems to be a regression when compared it with 4.7 site where no. of contacts exported was X regardless related fields are used in mapping or primary fields are used.