Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
b8c51e37
Commit
b8c51e37
authored
11 years ago
by
Christophe Battarel
Browse files
Options
Downloads
Patches
Plain Diff
sort tasks by start date
parent
5de7f77a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/projet/class/task.class.php
+2
-2
2 additions, 2 deletions
htdocs/projet/class/task.class.php
with
2 additions
and
2 deletions
htdocs/projet/class/task.class.php
+
2
−
2
View file @
b8c51e37
...
...
@@ -479,7 +479,7 @@ class Task extends CommonObject
/**
* 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
creation
date of first level task
* Sort order is on project, then on position of task, and last on
start
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
...
...
@@ -519,7 +519,7 @@ class Task extends CommonObject
if
(
$projectid
)
$sql
.
=
" AND p.rowid in ("
.
$projectid
.
")"
;
}
if
(
$filteronprojref
)
$sql
.
=
" AND p.ref LIKE '%"
.
$filteronprojref
.
"%'"
;
$sql
.
=
" ORDER BY p.ref, t.rang, t.date
c
"
;
$sql
.
=
" ORDER BY p.ref, t.rang, t.date
o
"
;
//print $sql;
dol_syslog
(
get_class
(
$this
)
.
"::getTasksArray sql="
.
$sql
,
LOG_DEBUG
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment