From 7236e25f91c86bfe63270fbc98a26835de1e7477 Mon Sep 17 00:00:00 2001 From: Rohan Katkar Date: Mon, 13 Oct 2014 10:53:06 +0530 Subject: [PATCH] Minor changes for CRM-15434 --- CRM/Mailing/Form/Search.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CRM/Mailing/Form/Search.php b/CRM/Mailing/Form/Search.php index bd8e4388a5..fc1e860f30 100644 --- a/CRM/Mailing/Form/Search.php +++ b/CRM/Mailing/Form/Search.php @@ -55,11 +55,7 @@ class CRM_Mailing_Form_Search extends CRM_Core_Form { CRM_Campaign_BAO_Campaign::addCampaignInComponentSearch($this); // CRM-15434 - Fix mailing search by status in non-English languages - $statusVals = array( - 'Scheduled' => ts('Scheduled'), - 'Complete' => ts('Complete'), - 'Running' => ts('Running'), - 'Canceled' => ts('Canceled')); + $statusVals = CRM_Core_SelectValues::getMailingJobStatus(); foreach ($statusVals as $statusId => $statusName) { $this->addElement('checkbox', "mailing_status[$statusId]", NULL, $statusName); } -- 2.25.1