From b96bff47700586a5591d25c497b317ef5e0bef74 Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Thu, 23 May 2013 22:51:27 +0200 Subject: [PATCH 01/18] [ bug #806 ] Tasks are ordered alphabetically instead of chronological order --- htdocs/projet/class/task.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/class/task.class.php b/htdocs/projet/class/task.class.php index 12571aad64ae5..5d0d67b058748 100644 --- a/htdocs/projet/class/task.class.php +++ b/htdocs/projet/class/task.class.php @@ -519,7 +519,7 @@ function getTasksArray($usert=0, $userp=0, $projectid=0, $socid=0, $mode=0, $fil if ($projectid) $sql.= " AND p.rowid in (".$projectid.")"; } if ($filteronprojref) $sql.= " AND p.ref LIKE '%".$filteronprojref."%'"; - $sql.= " ORDER BY p.ref, t.rang, t.label"; + $sql.= " ORDER BY p.ref, t.rang, t.datec"; //print $sql; dol_syslog(get_class($this)."::getTasksArray sql=".$sql, LOG_DEBUG); From b89b7405f85cd4467b1fcd0070d636d61089d90e Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Thu, 23 May 2013 22:54:06 +0200 Subject: [PATCH 02/18] update function comments header --- htdocs/projet/class/task.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/class/task.class.php b/htdocs/projet/class/task.class.php index 5d0d67b058748..4b2286cb4caa0 100644 --- a/htdocs/projet/class/task.class.php +++ b/htdocs/projet/class/task.class.php @@ -479,7 +479,7 @@ function initAsSpecimen() /** * Return list of tasks for all projects or for one particular project - * Sort order is on project, then on position of task, and last on title of first level task + * Sort order is on project, then on position of task, and last on creation date of first level task * * @param User $usert Object user to limit tasks affected to a particular user * @param User $userp Object user to limit projects of a particular user and public projects From 5de7f77a094b02f39ce8bd56f76e33ec3f1456ee Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Thu, 23 May 2013 23:09:32 +0200 Subject: [PATCH 03/18] update ChaneLog --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index df8af03efeab2..9f8e469729681 100644 --- a/ChangeLog +++ b/ChangeLog @@ -33,7 +33,7 @@ English Dolibarr ChangeLog - Fix: [ bug #866 ] Standing order from an invoice suggests invoice total amount instead of remaining to pay - Fix: [ bug #788 ] Date of linked interventions are not shown - Fix: external users should not see costprice and margin infos - +- Fix: [ bug #806 ] Tasks are ordered alphabetically instead of chronological order ***** ChangeLog for 3.3.1 compared to 3.3 ***** - Fix: [ bug #733 ] Mass emailing tools do not support