X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FSearch.php;h=5efeee126270b49d3e0e4719fb9dd1b41f448aab;hb=18db97df1ff0a282921f0357bd2d17c699c4c7d7;hp=feb9f1db72a5f9372d47fb465d1d9372091503a7;hpb=54744051dea726c2b1495f24fc1cf7ba7fa25e11;p=civicrm-core.git diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index feb9f1db72..5efeee1262 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -482,4 +482,13 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { return ts('Find Participants'); } + /** + * Set the metadata for the form. + * + * @throws \CiviCRM_API3_Exception + */ + protected function setSearchMetadata() { + $this->addSearchFieldMetadata(['Participant' => CRM_Event_BAO_Query::getSearchFieldMetadata()]); + } + }