Merge pull request #15526 from civicrm/5.19
[civicrm-core.git] / CRM / Report / Form / Contribute / Recur.php
index 805c7f5a2b5dffc3366e4202c95819788bff6dcf..ac4eae6fd9716107e219af611bfede3e37fc1d6b 100644 (file)
@@ -187,7 +187,7 @@ class CRM_Report_Form_Contribute_Recur extends CRM_Report_Form {
           'contribution_status_id' => [
             'title' => ts('Contribution Status'),
             'operatorType' => CRM_Report_Form::OP_MULTISELECT,
-            'options' => CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'label'),
+            'options' => CRM_Contribute_BAO_Contribution::buildOptions('contribution_status_id', 'search'),
             'default' => [5],
             'type' => CRM_Utils_Type::T_INT,
           ],