Fix Contact.create calls to respect passed in variables & variables set via hook...
authoreileen <emcnaughton@wikimedia.org>
Wed, 20 Mar 2019 01:28:59 +0000 (14:28 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 20 Mar 2019 05:28:50 +0000 (18:28 +1300)
commit1bdbd4eca32d70bb5372b4ea0607a45c0f050b48
tree8f3ac7aad1b737106f528c09195e5f119af27cb4
parenta2540ad336faf7fb0218055a485c1a702200293f
Fix Contact.create calls to respect passed in variables & variables set via hook for sort_name & display_name

This has been applied to Organizations & Households, not Individuals at this stage as that is more complex.

Use case is saving organizations with The so that The is at the end of their sort_name, making it easier to
deal with data entry variations
CRM/Contact/BAO/Contact.php
api/v3/Generic/Update.php
tests/phpunit/api/v3/ContactTest.php