From 9c548f99e90b9bcd16995df11f68eb398ca70809 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 29 Jul 2008 04:20:13 +0000 Subject: [PATCH] Sort by start date --- htdocs/actioncomm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/actioncomm.class.php b/htdocs/actioncomm.class.php index 3371445bc03..fbd9062e66a 100644 --- a/htdocs/actioncomm.class.php +++ b/htdocs/actioncomm.class.php @@ -631,7 +631,7 @@ class ActionComm } } $sql.= " AND a.datep != 'null' "; // To exclude corrupted events and avoid errors in lightning/sunbird import - $sql.= " ORDER by datec"; + $sql.= " ORDER by datep"; dolibarr_syslog("ActionComm::build_exportfile select events sql=".$sql); $resql=$this->db->query($sql);