Fixed bug in export reports with called_count ambiguous

git-svn-id: svn://192.168.202.10@2065 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2014-02-07 02:15:38 +00:00
parent 7d3a1e509b
commit c7ef51afeb
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -402,12 +402,12 @@ if ($run_export > 0)
$EFheader='';
if ($export_fields == 'EXTENDED')
{
$export_fields_SQL = ",entry_date,called_count,last_local_call_time,modify_date,called_since_last_reset";
$export_fields_SQL = ",entry_date,vi.called_count,last_local_call_time,modify_date,called_since_last_reset";
$EFheader = "\tentry_date\tcalled_count\tlast_local_call_time\tmodify_date\tcalled_since_last_reset";
}
if ($export_fields == 'ALTERNATE_1')
{
$export_fields_SQL = ",called_count,last_local_call_time";
$export_fields_SQL = ",vi.called_count,last_local_call_time";
$EFheader = "|called_count|last_local_call_time";
}
+1 -1
View File
@@ -380,7 +380,7 @@ if ($run_export > 0)
$EFheader='';
if ($export_fields == 'EXTENDED')
{
$export_fields_SQL = ",entry_date,called_count,last_local_call_time,modify_date,called_since_last_reset";
$export_fields_SQL = ",entry_date,vi.called_count,last_local_call_time,modify_date,called_since_last_reset";
$EFheader = "\tentry_date\tcalled_count\tlast_local_call_time\tmodify_date\tcalled_since_last_reset";
}