Only add in relative key when its a custom date field
authorSeamus Lee <seamuslee001@gmail.com>
Thu, 28 Nov 2019 03:22:11 +0000 (14:22 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 29 Nov 2019 21:25:09 +0000 (08:25 +1100)
commit0e5221165b296525033693b87357f3167c90aefd
tree21b4bf04ac645787639a5fa72b787d086441add9
parentaf71cb8015c3b84ba0face7d7294fb74d43ae0da
Only add in relative key when its a custom date field

Ensure that we strip the _to _from _high _low from the element name first
CRM/Contact/BAO/SavedSearch.php
tests/phpunit/CRM/Contact/BAO/SavedSearchTest.php