dev/core#2039 Set is_primary to 1 on email, address for domain contacts
authoreileen <emcnaughton@wikimedia.org>
Wed, 16 Sep 2020 00:52:52 +0000 (12:52 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 16 Sep 2020 03:00:03 +0000 (15:00 +1200)
commitb1106e394efb05de9cbdaee8738d2dd128109eb6
tree0c541b52941f4190b70b062e9d929e4e9b2a61fd
parent139be6abceab92df450f97f068972ff04bc86875
dev/core#2039 Set is_primary to 1 on email, address for domain contacts

I'm digging into the places where the code handles is_primary due to duplicate handling/ queries
- see https://lab.civicrm.org/dev/core/-/issues/2039

One distraction is that the domain contact's address & email are not marked is_primary. This
doesn't make sense to me as they ARE a contact in the DB
sql/test_data_second_domain.mysql
xml/templates/civicrm_data.tpl