X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FSearch.php;fp=CRM%2FEvent%2FForm%2FSearch.php;h=5c6a314c46850d16cd0ef2d328903e200ef2183d;hb=1ba43e8d0d271e4c3b4d84fb7f519c55329981ab;hp=10a05187f65e5ca6cc87292450497d42671af6e7;hpb=6ffe61317901a61333a9c5f8b07b4dde3d20412d;p=civicrm-core.git diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index 10a05187f6..5c6a314c46 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -457,4 +457,16 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { $this->addSearchFieldMetadata(['Participant' => CRM_Event_BAO_Query::getSearchFieldMetadata()]); } + /** + * Set the default form values. + * + * + * @return array + * the default array reference + */ + public function setDefaultValues() { + parent::setDefaultValues(); + return $this->_formValues; + } + }