diff --git a/submodules/groups/groups.js b/submodules/groups/groups.js index ab8a520..ed3856f 100644 --- a/submodules/groups/groups.js +++ b/submodules/groups/groups.js @@ -1400,7 +1400,10 @@ define(function(require){ resource: 'callflow.list', data: { accountId: self.accountId, - filters: { 'filter_type':'main' } + filters: { + filter_type:'main', + paginate: 'false' + } }, success: function(data) { callback(null, data.data && data.data.length > 0 ? _.find(data.data, function(callflow) { return callflow.numbers[0] === "MainOpenHoursMenu" }) : null); @@ -1412,9 +1415,10 @@ define(function(require){ resource: 'callflow.list', data: { accountId: self.accountId, - filters: { - 'has_key':'owner_id', - 'filter_type':'mainUserCallflow' + filters: { + has_key: 'owner_id', + filter_type: 'mainUserCallflow', + paginate: 'false' } }, success: function(data) { @@ -1497,9 +1501,10 @@ define(function(require){ resource: 'callflow.list', data: { accountId: self.accountId, - filters: { - 'filter_group_id': groupId, - 'filter_type': 'userGroup' + filters: { + filter_group_id: groupId, + filter_type: 'userGroup', + paginate: 'false' } }, success: function(data) { @@ -1843,9 +1848,10 @@ define(function(require){ resource: 'callflow.list', data: { accountId: self.accountId, - filters: { - 'filter_group_id': groupId, - 'filter_type': 'userGroup' + filters: { + filter_group_id: groupId, + filter_type: 'userGroup', + paginate: 'false' } }, success: function(data) { @@ -1873,9 +1879,10 @@ define(function(require){ resource: 'callflow.list', data: { accountId: self.accountId, - filters: { - 'filter_group_id': groupId, - 'filter_type': 'baseGroup' + filters: { + filter_group_id: groupId, + filter_type: 'baseGroup', + paginate: false } }, success: function(data) { @@ -2113,7 +2120,10 @@ define(function(require){ resource: 'callflow.list', data: { accountId: self.accountId, - filters: {'has_key':'group_id'} + filters: { + has_key: 'group_id', + paginate: 'false' + } }, success: function(dataCallflows) { callback(null, dataCallflows.data);