Afform - Apply "type" values to autocomplete filters
authorColeman Watts <coleman@civicrm.org>
Sat, 6 Aug 2022 21:50:40 +0000 (17:50 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 10 Aug 2022 02:28:44 +0000 (22:28 -0400)
commitde0cbbea42760526ab313a68c9dbe96352b507bf
treeb7a173661c6d6b86ee84967a9c79f5ffb9d99ddd
parent898b512a54f6d930220c254aa5e6755d39c9119d
Afform - Apply "type" values to autocomplete filters

This ensures that if e.g. a Contact or Activity has its type specified on the form
it will also be limited to that type in autocomplete results when selecting an existing entity.
CRM/Core/BAO/CustomGroup.php
ext/afform/core/Civi/Api4/Subscriber/AutocompleteSubscriber.php