diff --git a/module/user/model.php b/module/user/model.php index d2ffb88000..725190bc08 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -851,6 +851,7 @@ class userModel extends model ->where('t1.type')->eq('project') ->andWhere('t1.account')->eq($account) ->andWhere('t2.deleted')->eq(0) + ->orderBy('t2.id_desc') ->fetchAll(); /* Judge whether the project is delayed. */ diff --git a/module/user/view/project.html.php b/module/user/view/project.html.php index 7af7a97ee6..264a5cbb02 100644 --- a/module/user/view/project.html.php +++ b/module/user/view/project.html.php @@ -33,8 +33,8 @@ createLink('project', 'browse', "projectID=$project->id");?>