From 763d7ca7f6cd442e8e7914a69f49edf579ecc6f0 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Thu, 14 Aug 2008 09:33:33 +0200 Subject: [PATCH] Fixed to have the latest ticket first by default. --- src/IDF/Views/Issue.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/IDF/Views/Issue.php b/src/IDF/Views/Issue.php index 0ccdd3a..bf7fb35 100644 --- a/src/IDF/Views/Issue.php +++ b/src/IDF/Views/Issue.php @@ -53,7 +53,7 @@ class IDF_Views_Issue if (count($otags) == 0) $otags[] = 0; $pag->forced_where = new Pluf_SQL('project=%s AND status IN ('.implode(', ', $otags).')', array($prj->id)); $pag->action = array('IDF_Views_Issue::index', array($prj->shortname)); - $pag->sort_order = array('modif_dtime', 'DESC'); + $pag->sort_order = array('modif_dtime', 'ASC'); // will be reverted $pag->sort_reverse_order = array('modif_dtime'); $list_display = array( 'id' => __('Id'), @@ -109,7 +109,7 @@ class IDF_Views_Issue $pag->summary = __('This table shows the open issues.'); $pag->forced_where = $f_sql; $pag->action = array('IDF_Views_Issue::myIssues', array($prj->shortname, $match[2])); - $pag->sort_order = array('modif_dtime', 'DESC'); + $pag->sort_order = array('modif_dtime', 'ASC'); // will be reverted $pag->sort_reverse_order = array('modif_dtime'); $list_display = array( 'id' => __('Id'), @@ -330,7 +330,7 @@ class IDF_Views_Issue if (count($otags) == 0) $otags[] = 0; $pag->forced_where = new Pluf_SQL('project=%s AND status IN ('.implode(', ', $otags).')', array($prj->id)); $pag->action = array('IDF_Views_Issue::listStatus', array($prj->shortname, $status)); - $pag->sort_order = array('modif_dtime', 'DESC'); + $pag->sort_order = array('modif_dtime', 'ASC'); // will be reverted $pag->sort_reverse_order = array('modif_dtime'); $list_display = array( 'id' => __('Id'), @@ -387,7 +387,7 @@ class IDF_Views_Issue if (count($otags) == 0) $otags[] = 0; $pag->forced_where = new Pluf_SQL('project=%s AND idf_tag_id=%s AND status IN ('.implode(', ', $otags).')', array($prj->id, $tag->id)); $pag->action = array('IDF_Views_Issue::listLabel', array($prj->shortname, $tag->id, $status)); - $pag->sort_order = array('modif_dtime', 'DESC'); + $pag->sort_order = array('modif_dtime', 'ASC'); // will be reverted $pag->sort_reverse_order = array('modif_dtime'); $list_display = array( 'id' => __('Id'),