diff --git a/VICIDIAL_web/user_stats.php b/VICIDIAL_web/user_stats.php index bdada22..ba10a76 100644 --- a/VICIDIAL_web/user_stats.php +++ b/VICIDIAL_web/user_stats.php @@ -258,7 +258,7 @@ echo "LAST 50 CALLS:\n"; echo "\n"; echo "\n"; - $stmt="select * from vicidial_log where user='" . mysql_real_escape_string($user) . "' order by uniqueid desc limit 50;"; + $stmt="select * from vicidial_log where user='" . mysql_real_escape_string($user) . "' order by call_date desc limit 50;"; $rslt=mysql_query($stmt, $link); $logs_to_print = mysql_num_rows($rslt);
DATE/TIME LENGTH STATUS PHONE CAMPAIGN LIST LEAD