Ticket #199: order_subprojects_by_id.diff

File order_subprojects_by_id.diff, 539 bytes (added by juanramondiaz, 13 months ago)
  • gp-includes/things/project.php

     
    1717        } 
    1818         
    1919        function sub_projects() { 
    20                 return $this->many( "SELECT * FROM $this->table WHERE parent_project_id = %d ORDER BY active DESC, id ASC", $this->id ); 
     20                return $this->many( "SELECT * FROM $this->table WHERE parent_project_id = %d ORDER BY active DESC, id DESC", $this->id ); 
    2121        } 
    2222         
    2323        function top_level() {