ang/crmMailing/Templates.js - Dropdown shouldn't show system workflow templates
authorTim Otten <totten@civicrm.org>
Fri, 1 Oct 2021 00:02:40 +0000 (17:02 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 1 Oct 2021 00:02:40 +0000 (17:02 -0700)
These are now identified by `workflow_name` rather than `workflow_id`.

ang/crmMailing/Templates.js

index 0c2b93dc2663f360533c6a532fb8149a97e059ae..301b565f23e0709f02a6215d951fd2702a66ce6c 100644 (file)
@@ -72,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,