Remove slow join from activity search
authoreileen <emcnaughton@wikimedia.org>
Thu, 7 May 2020 04:41:14 +0000 (16:41 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 29 Jun 2020 03:13:42 +0000 (15:13 +1200)
commitd1d108ee227039e6eee69dd037c626cd9b301c20
tree52622287b8efe3b37c079216d1c56f8132e7a70a
parentaef4c7b3f337105999421301c2f7297fc0a47176
Remove slow join from activity search

This removes the unindexed join from activity search. The join is used to apply component
permission filtering and to retrieve the activity_type - however, this latter is still rendered
by the pseudoconstant handling
CRM/Activity/BAO/Activity.php
CRM/Activity/BAO/Query.php
CRM/Activity/Selector/Search.php
CRM/Contact/BAO/Query.php
CRM/Core/DAO.php
CRM/Export/BAO/ExportProcessor.php
tests/phpunit/CRM/Activity/Selector/SearchTest.php
tests/phpunit/CRM/Contact/SelectorTest.php