From c174a4fc7123083ee76cd60a011c025ffe3ba69c Mon Sep 17 00:00:00 2001 From: Seamus Lee <seamuslee001@gmail.com> Date: Tue, 26 Nov 2019 11:43:48 +1100 Subject: [PATCH] dev/core#1422 Ensure that the form values are correctly passed onto the Badge label task and others --- CRM/Event/Form/Search.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index e53572d90d2..abf22b7a25c 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -496,4 +496,16 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { return ts('Find Participants'); } + /** + * Set the default form values. + * + * + * @return array + * the default array reference + */ + public function setDefaultValues() { + parent::setDefaultValues(); + return $this->_formValues; + } + } -- GitLab