APIv4 - Support `match` in replaceAction
authorColeman Watts <coleman@civicrm.org>
Thu, 9 Mar 2023 02:39:20 +0000 (21:39 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 9 Mar 2023 02:39:20 +0000 (21:39 -0500)
commit283139dc0dab8556bd644357ef7b9cd8fff34f7e
treed54b273bf08ce3dd2b28c13d2676ec2889c0cffa
parent27d5348359482d99d7ccbed808840c8f1d590227
APIv4 - Support `match` in replaceAction

This allows the replaceAction to support non-id matching, the same way as the saveAction does.
Fixes dev/core#4168
Civi/Api4/Generic/AbstractSaveAction.php
Civi/Api4/Generic/BasicReplaceAction.php
Civi/Api4/Generic/Traits/MatchParamTrait.php
ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js
tests/phpunit/api/v4/Action/ReplaceTest.php