dev/core#1714 Fix mis-filtering on activity type
authoreileen <emcnaughton@wikimedia.org>
Fri, 1 May 2020 03:00:56 +0000 (15:00 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 1 May 2020 03:01:11 +0000 (15:01 +1200)
commitfd11fc34c7634123cd903953647acd742e34e99d
treeaa0b5efeadc02b390afc055074ca5a774b586c48
parent175893636c8bbb4de1d0ca771e59744a64483a3c
dev/core#1714 Fix mis-filtering on activity type

This fixes a bug where the activity_type_id was being compared against the label of the option value
CRM/Activity/BAO/Query.php
CRM/Contact/BAO/Query.php
tests/phpunit/CRM/Contact/BAO/QueryTest.php
tests/phpunit/CRM/Contact/Form/Search/SearchContactTest.php