Skip to content

Commit 473c1dc

Browse files
authored
Update projects grant with ordering by plan start date (#66)
1 parent 532c38f commit 473c1dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DataFactory.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ public function getItemsForProject(&$itemArray, $id)
5656
'show_on_global_gantt' => 1,
5757
'is_template' => 0,
5858
'is_deleted' => 0
59-
] + getEntitiesRestrictCriteria('glpi_projects', '', '', true)
59+
] + getEntitiesRestrictCriteria('glpi_projects', '', '', true),
60+
'ORDERBY' => 'glpi_projects.plan_start_date'
6061
]);
6162
foreach ($iterator as $data) {
6263
$this->getItemsForProject($itemArray, $data['id']);

0 commit comments

Comments
 (0)