MailingUI - Fix display of campaigns
authorColeman Watts <coleman@civicrm.org>
Thu, 26 Mar 2015 15:50:26 +0000 (11:50 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 26 Mar 2015 16:20:37 +0000 (12:20 -0400)
partials/crmMailing/summary.html
partials/crmMailingAB/setup.html

index 5b8b8407861b5e0c3ee8a9fd11c8952a12c4c96c..d843e7840b2e7f5ad53a47f1dfd66718a03f84b2 100644 (file)
@@ -24,7 +24,7 @@ FIXME: Don't hardcode table-based layout!
         ui-jq="select2"
         ui-options="{dropdownAutoWidth : true, allowClear: true, placeholder: ts('Select Campaign')}"
         ng-model="mailing.campaign_id"
-        ng-options="campaign.id as campaign.name for campaign in crmMailingConst.campNames|orderBy:'name'"
+        ng-options="campaign.id as campaign.title for campaign in crmMailingConst.campNames|orderBy:'title'"
         >
         <option value=""></option>
       </select>
index 8a889e258603b2c0a71a7a8ff8df80b2adbeb3ac..ba5d83a7753da06c76aefe303eaa5c0ee813a21b 100644 (file)
@@ -20,7 +20,7 @@
         ui-jq="select2"
         ui-options="{dropdownAutoWidth : true, allowClear: true, placeholder: ts('Select Campaign')}"
         ng-model="mailing.campaign_id"
-        ng-options="campaign.id as campaign.name for campaign in crmMailingConst.campNames|orderBy:'name'"
+        ng-options="campaign.id as campaign.title for campaign in crmMailingConst.campNames|orderBy:'title'"
         >
         <option value=""></option>
       </select>