APIv4 - Ensure 'search_fields' defaults to 'label_field' for Entity.get
authorcolemanw <coleman@civicrm.org>
Thu, 2 Nov 2023 00:59:35 +0000 (20:59 -0400)
committercolemanw <coleman@civicrm.org>
Thu, 2 Nov 2023 00:59:35 +0000 (20:59 -0400)
commitd41d080bd9990e3c137e6a8cda2267d91578a150
tree8d95aca62d63f219ac7ec0a57a627eaab59dedd0
parent4a7ac29969c07583ab179b81e137f6258610dd77
APIv4 - Ensure 'search_fields' defaults to 'label_field' for Entity.get

This default is set in the AbstractEntity class, but not every entity inherits from that class,
e.g. ECK does not.
So it needs to be filled in by the Entity.get action
Civi/Api4/Provider/ActionObjectProvider.php