Merge pull request #21669 from MegaphoneJon/event-64
[civicrm-core.git] / ang / crmMailing / Templates.js
index 2c5ff8c4cfbff3fbf33aa22d81c75b1923e80a49..301b565f23e0709f02a6215d951fd2702a66ce6c 100644 (file)
@@ -7,7 +7,6 @@
           scope: {
             ngRequired: '@'
           },
-          templateUrl: '~/crmMailing/Templates.html',
           link: function(scope, element, attrs, ngModel) {
             scope.template = ngModel.$viewValue;
 
@@ -73,8 +72,8 @@
                     }
 
                     rcpAjaxState.page_i = page_num - rcpAjaxState.page_n;
-                    var filterParams = { is_active: 1, workflow_id: { "IS NULL": 1 } };
-                    
+                    var filterParams = { is_active: 1, workflow_name: { "IS NULL": 1 } };
+
                     var params = {
                       input: input,
                       page_num: rcpAjaxState.page_i,
 
 
   });
-})(angular, CRM.$, CRM._);
\ No newline at end of file
+})(angular, CRM.$, CRM._);