From 499adae8799556a85fa0ce8912970091f09cb630 Mon Sep 17 00:00:00 2001 From: Alain Benbassat Date: Fri, 24 May 2019 23:37:58 +0200 Subject: [PATCH] fixes issue #981: sort participants did not remember search criteria --- CRM/Event/Form/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index 4a61657ee308..27a01a0e58f0 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -389,7 +389,7 @@ public function postProcess() { CRM_Contact_BAO_Query::processSpecialFormValue($this->_formValues, ['participant_status_id']); } - if (empty($this->_formValues)) { + if (empty($formValues)) { $formValues = $this->controller->exportValues($this->_name); }