diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-12 13:08:18 -0500 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-12 13:08:18 -0500 |
commit | 0d43b9270677106f3aa37112da1dd0482ed40b55 (patch) | |
tree | 24f89bf7bd67dfa94941e5732e1235a229688081 /app/models | |
parent | 86cedb082576ceca3522c33c10d367d765e02cf8 (diff) | |
download | gitlab-ce-0d43b9270677106f3aa37112da1dd0482ed40b55.tar.gz |
Fix CI tests
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index dfd1e54ecf7..82489235a3f 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -354,7 +354,7 @@ class Project < ActiveRecord::Base join_body = "INNER JOIN ( SELECT project_id, COUNT(*) AS amount FROM notes - WHERE created_at >= #{sanitize(since)} + WHERE created_at >= #{sanitize(since)}project.ci_commits GROUP BY project_id ) join_note_counts ON projects.id = join_note_counts.project_id" |