Fix dev/report#23
authorAidan Saunders <aidan.saunders@squiffle.uk>
Wed, 27 Nov 2019 12:13:15 +0000 (12:13 +0000)
committerAidan Saunders <aidan.saunders@squiffle.uk>
Wed, 27 Nov 2019 12:26:36 +0000 (12:26 +0000)
commitf8dcf33849222a773b4f7dada02017706a8a00a9
treeb43fd7e20e208e9037edee8288dd131a035a496b
parent63865f0eb0b7528cb5979e8613ae9478766eda5e
Fix dev/report#23
When filtering by contact sub-type using 'is not one of' do not exclude where sub-type is null.

Add unit tests for contact sub-type 'is one of' and 'is not one of'
Tighten the matching on sub-type to avoid problems where one contact sub-type is a substring of another.
CRM/Report/Form.php
tests/phpunit/api/v3/ReportTemplateTest.php