diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-10-30 14:04:29 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-10-30 14:04:29 +0100 |
commit | 8a2d479837ab5080f9dfdf2a19433f1016169bfd (patch) | |
tree | ba9e4df0f9997344fd78dc0ed1c53c3b41eed18c /sonar-core | |
parent | 63801eb380f32bbf59659a8d241b51cc5f8ff412 (diff) | |
download | sonarqube-8a2d479837ab5080f9dfdf2a19433f1016169bfd.tar.gz sonarqube-8a2d479837ab5080f9dfdf2a19433f1016169bfd.zip |
SONAR-5755 Filter on project when searching for last synchronisation for issues and issues authorization
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/issue/db/IssueMapper.java | 2 | ||||
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/db/IssueMapper.java b/sonar-core/src/main/java/org/sonar/core/issue/db/IssueMapper.java index c769c30825e..5e51b8c3a56 100644 --- a/sonar-core/src/main/java/org/sonar/core/issue/db/IssueMapper.java +++ b/sonar-core/src/main/java/org/sonar/core/issue/db/IssueMapper.java @@ -47,5 +47,5 @@ public interface IssueMapper { int updateIfBeforeSelectedDate(IssueDto issue); - List<IssueDto> selectAfterDate(@Nullable @Param("date") Timestamp timestamp, @Nullable @Param("project") String project); + List<IssueDto> selectAfterDate(@Nullable @Param("date") Timestamp timestamp, @Nullable @Param("project") String projectUuid); } diff --git a/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml b/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml index 662acb333c1..57fb48e104c 100644 --- a/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml @@ -153,7 +153,7 @@ AND (i.updated_at IS NULL or i.updated_at >= #{date}) </if> <if test="project != null"> - AND root.kee = #{project} + AND root.uuid = #{project} </if> </where> </select> |