SearchKit - Fix support for non-DAO entities
authorColeman Watts <coleman@civicrm.org>
Fri, 11 Feb 2022 16:24:02 +0000 (11:24 -0500)
committerColeman Watts <coleman@civicrm.org>
Fri, 11 Feb 2022 16:24:02 +0000 (11:24 -0500)
commit49208bdbf6caad7894475bad0e601ee410a1c6b1
tree093ea08a62c945ee1ecd8f8f77e3065327b9f65c
parent5a493630f09d82fb18dea6e68a7c17f971088ace
SearchKit - Fix support for non-DAO entities

Before: SearchKit would crash if running a search on a non-DAO entity (Extension, Entity, Afform, etc)
After: Works, test added
ext/search_kit/Civi/Api4/Action/SearchDisplay/AbstractRunAction.php
ext/search_kit/Civi/Api4/Action/SearchDisplay/SavedSearchInspectorTrait.php
ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunTest.php