Afform - Support search-by-range and search-by-multiple-values
authorColeman Watts <coleman@civicrm.org>
Wed, 31 Mar 2021 18:30:12 +0000 (14:30 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 5 Apr 2021 19:14:29 +0000 (15:14 -0400)
commit2aa241b54a3ff0e5ff82f66414d40e1c618160fc
tree97df6722969184e61dc5c0076ce0a5208f271208
parent0ef6eaa82ffa922118850565a2747125f2b7d66d
Afform - Support search-by-range and search-by-multiple-values

This adds support for filter operators in SearchKit. It does not expose an operator selector to Afform
but allows an operator to be implied through the type of field configured.
e.g. a multiselect implies the IN operator & a range select implies BETWEEN.
22 files changed:
ext/afform/admin/Civi/AfformAdmin/AfformAdminMeta.php
ext/afform/admin/ang/afGuiEditor/elements/afGuiButton-menu.html
ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer-menu.html
ext/afform/admin/ang/afGuiEditor/elements/afGuiField-menu.html
ext/afform/admin/ang/afGuiEditor/elements/afGuiField.component.js
ext/afform/admin/ang/afGuiEditor/elements/afGuiMarkup-menu.html
ext/afform/admin/ang/afGuiEditor/elements/afGuiText-menu.html
ext/afform/admin/ang/afGuiEditor/inputType/CheckBox.html
ext/afform/admin/ang/afGuiEditor/inputType/Date.html
ext/afform/admin/ang/afGuiEditor/inputType/Number.html
ext/afform/admin/ang/afGuiEditor/inputType/Radio.html
ext/afform/admin/ang/afGuiEditor/inputType/Select.html
ext/afform/core/Civi/Afform/AfformMetadataInjector.php
ext/afform/core/ang/af/afField.component.js
ext/afform/core/ang/af/fields/CheckBox.html
ext/afform/core/ang/af/fields/Date.html
ext/afform/core/ang/af/fields/Number.html
ext/afform/core/ang/af/fields/Radio.html
ext/afform/core/ang/af/fields/RichTextEditor.html
ext/afform/core/ang/af/fields/Select.html
ext/afform/core/ang/af/fields/Text.html
ext/search/Civi/Api4/Action/SearchDisplay/Run.php