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
1 changed files with 1 additions and 1 deletions

View File

@ -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();