Skip to content

Commit

Permalink
Removed limit of 25 groups and past mailings
Browse files Browse the repository at this point in the history
Before: Saving a mailing with more than 25 groups or past mailing recipients caused the number of groups to be reduced to 25.
After: As many groups as desired can be added.
  • Loading branch information
larssandergreen committed Apr 15, 2021
1 parent 364b9a9 commit dd75b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ang/crmMailing/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
},
// Call MailingGroup.get and merge results into "mailing"
_loadGroups: function (mailing) {
return crmApi('MailingGroup', 'get', {mailing_id: mailing.id})
return crmApi('MailingGroup', 'get', {mailing_id: mailing.id, 'options': {'limit':0}})
.then(function (groupResult) {
mailing.recipients = {};
mailing.recipients.groups = {include: [], exclude: [], base: []};
Expand Down

0 comments on commit dd75b22

Please sign in to comment.