summaryrefslogtreecommitdiffstats
path: root/app/class/stage.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/stage.class.php')
-rw-r--r--app/class/stage.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/stage.class.php b/app/class/stage.class.php
index 43bb3c3..5d24465 100644
--- a/app/class/stage.class.php
+++ b/app/class/stage.class.php
@@ -105,7 +105,7 @@ class stage extends obj
{
$query = "SELECT o.guid FROM objects o JOIN issues i ON o.guid = i.guid " .
"WHERE o.objtype = 'issue' AND o.parent = '" . database::esc($this->guid) .
- "' ORDER BY i.due, i.numb";
+ "' ORDER BY i.due, i.numb DESC";
$res = database::query($query);
$issues = array();