From: Rohan Katkar Date: Mon, 13 Oct 2014 05:23:06 +0000 (+0530) Subject: Minor changes for CRM-15434 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7236e25f91c86bfe63270fbc98a26835de1e7477;p=civicrm-core.git Minor changes for CRM-15434 --- 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); }