Fix potential issue with old Sqlite versions

This commit is contained in:
Frederic Guillot
2015-01-28 20:34:42 -05:00
parent c1173765ae
commit 7703d0459a

View File

@@ -85,7 +85,7 @@ class ProjectActivity extends Base
) )
->in('project_id', $project_ids) ->in('project_id', $project_ids)
->join(User::TABLE, 'id', 'creator_id') ->join(User::TABLE, 'id', 'creator_id')
->desc('id') ->desc(self::TABLE.'.id')
->limit($limit) ->limit($limit)
->findAll(); ->findAll();