Ticket #3955: cdr.patch

File cdr.patch, 1.7 kB (added by litnialex, 3 years ago)

Patch to Reports menu

  • admin/cdr/call-log.php

    old new  
    9595  $FG_TABLE_COL[]=array ("Disposition", "disposition", "9%", "center", "", "30"); 
    9696  if ((!isset($resulttype)) || ($resulttype=="min")) $minute_function= "display_minute"; 
    9797  $FG_TABLE_COL[]=array ("Duration", "duration", "6%", "center", "SORT", "30", "", "", "", "", "", "$minute_function"); 
     98  $FG_TABLE_COL[]=array ("Recording", "userfield", "8%", "center", "", "90", "", "", "", "", "", "display_userfield"); 
    9899 
    99100  $FG_TABLE_DEFAULT_ORDER = "calldate"; 
    100101  $FG_TABLE_DEFAULT_SENS = "DESC"; 
     
    102103  // This Variable store the argument for the SQL query 
    103104  //$FG_COL_QUERY='calldate, channel, src, clid, lastapp, lastdata, dst, dst, serverid, disposition, duration'; 
    104105 
    105   $FG_COL_QUERY='calldate, channel, src, clid, dst, disposition, duration'; 
     106  $FG_COL_QUERY='calldate, channel, src, clid, dst, disposition, duration, userfield'; 
    106107 
    107108  /* --AMP End -- */ 
    108109