diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-28 20:34:42 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-28 20:34:42 -0500 |
commit | 7703d0459ab33b8b5ca0e49410fe5b8b8962a61c (patch) | |
tree | 63d9fad5c55ff6052f3e3aaa53014ed4d11ba990 /app | |
parent | c1173765ae7b2ba116d8a263f2d3f3cde0438362 (diff) |
Fix potential issue with old Sqlite versions
Diffstat (limited to 'app')
-rw-r--r-- | app/Model/ProjectActivity.php | 2 |
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(); |