pluginsGLPI / gantt

Gantt view for GLPI
GNU General Public License v2.0
14 stars 11 forks source link

Gannt order default by plan date start #65

Open ct0rm4n opened 8 months ago

ct0rm4n commented 8 months ago

By Default fix gannt orderer by plan date start, I fix it and work fine

    $iterator = $DB->request([
        'FROM' => 'glpi_projects',
        'WHERE' => [
            'projects_id' => 0,
            'show_on_global_gantt' => 1,
            'is_template' => 0,
            'is_deleted' => 0
        ] + getEntitiesRestrictCriteria('glpi_projects', '', '', true),
        'ORDERBY' => 'glpi_projects.plan_start_date'