summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Model/ProjectActivity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/ProjectActivity.php b/app/Model/ProjectActivity.php
index bbcb7f5b..a046dffb 100644
--- a/app/Model/ProjectActivity.php
+++ b/app/Model/ProjectActivity.php
@@ -85,7 +85,7 @@ class ProjectActivity extends Base
)
->in('project_id', $project_ids)
->join(User::TABLE, 'id', 'creator_id')
- ->desc('id')
+ ->desc(self::TABLE.'.id')
->limit($limit)
->findAll();