Merge in 5.20
[civicrm-core.git] / CRM / Event / Form / Search.php
index 10a05187f65e5ca6cc87292450497d42671af6e7..5c6a314c46850d16cd0ef2d328903e200ef2183d 100644 (file)
@@ -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;
+  }
+
 }