From 77e2e491298e628aae5d09bf1899bcec2e61f757 Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 7 Sep 2006 13:50:53 +0000 Subject: [PATCH] updated user_stats.php git-svn-id: svn://192.168.202.10@254 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_1-X/trunk/VICIDIAL_web/user_stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agc_1-X/trunk/VICIDIAL_web/user_stats.php b/agc_1-X/trunk/VICIDIAL_web/user_stats.php index bdada227..ba10a76b 100644 --- a/agc_1-X/trunk/VICIDIAL_web/user_stats.php +++ b/agc_1-X/trunk/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