dev/core#1790 - Contact Card - Email Links
authoreileen <emcnaughton@wikimedia.org>
Mon, 28 Sep 2020 01:41:10 +0000 (14:41 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 2 Oct 2020 07:11:35 +0000 (20:11 +1300)
commitb7edabe813db467aff6dd1ea083d798089198655
treebb75f329a7d49f06471bda2c8932c4395687ee71
parent63bb878c77be188d3b88e59c6363e352649c824e
dev/core#1790 - Contact Card - Email Links

Alternate to https://github.com/civicrm/civicrm-core/pull/17517

The current PR stalled on the issue that passing 'email' to the email task could load up
the wrong contact. This gets around that by doing a separate (but hopefully quick) lookup
to grab the email id. I also made it dependent on the url having is_show_email_task=1 in
it. I went back & forwards on that vs is_backoffice
CRM/Contact/BAO/Contact/Utils.php
CRM/Profile/Page/Dynamic.php
CRM/Profile/Page/View.php
tests/phpunit/CRM/Activity/Form/SearchTest.php
tests/phpunit/CRM/Financial/Page/AjaxTest.php
tests/phpunit/CRM/Member/Selector/SearchTest.php
tests/phpunit/CRM/Pledge/Form/SearchTest.php