Browse Source

UI-1436: any cdr with no bridge_id is now displayed as an a-leg, regardless of its 'direction'

4.3
Maxime Roux 11 years ago
parent
commit
0068b5efc5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      submodules/callLogs/callLogs.js

+ 1
- 1
submodules/callLogs/callLogs.js View File

@ -288,7 +288,7 @@ define(function(require){
},
success: function(data, status) {
var cdrs = {},
groupedLegs = _.groupBy(data.data, function(val) { return val.direction === 'inbound' ? 'aLegs' : 'bLegs' });
groupedLegs = _.groupBy(data.data, function(val) { return (val.direction === 'inbound' || !val.bridge_id) ? 'aLegs' : 'bLegs' });
if(self.lastALeg) {
groupedLegs.aLegs.splice(0, 0, self.lastALeg);


Loading…
Cancel
Save