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
17 17 } 18 18 19 19 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 ); 21 21 } 22 22 23 23 function top_level() {
