From 7703d0459ab33b8b5ca0e49410fe5b8b8962a61c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 28 Jan 2015 20:34:42 -0500 Subject: Fix potential issue with old Sqlite versions --- app/Model/ProjectActivity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model') 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(); -- cgit v1.2.3