SearchKit - Auto-apply Afform filters.
authorColeman Watts <coleman@civicrm.org>
Sat, 3 Jul 2021 02:20:33 +0000 (22:20 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 3 Jul 2021 10:26:01 +0000 (06:26 -0400)
commit6bff386445e5ab6f6c1cede8a9cdcd6c85918d7f
treefdb152bd7981b9ba7f26561e883f7f77c54f21aa
parentb39e92c1eec8739e8b6d5da73103cf7909d2159a
SearchKit - Auto-apply Afform filters.

Ensures that any scalar value passed as a filter via Afform markup will be auto-applied.
Adds unit test for a search display embedded in an afform to lock in filter behavior.
ext/afform/mock/ang/testContactEmailSearchForm.aff.html [new file with mode: 0644]
ext/afform/mock/ang/testContactEmailSearchForm.aff.json [new file with mode: 0644]
ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php
ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchAfformTest.php [new file with mode: 0644]