SearchKit - Fix aggregation issues
authorColeman Watts <coleman@civicrm.org>
Thu, 21 Apr 2022 14:07:44 +0000 (10:07 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 21 Apr 2022 14:35:37 +0000 (10:35 -0400)
commit587f387746091091aa575e7cfdc72233c75308ea
treeda7762c11ee6073332a707c5f80ffee372585731
parentd2dd72d8c9e6d026a47c0b18d999950d5a43e4da
SearchKit - Fix aggregation issues

In the UI, "Extra" fields like Contact.age_years were not being aggregated properly.

On the server, fixes mismatch when checking an aggregate field with a suffix.
Fixes recent test regression.
ext/search_kit/Civi/Api4/Action/SearchDisplay/SavedSearchInspectorTrait.php
ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js