diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-06-18 16:21:35 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-06-18 16:21:35 +0200 |
commit | 85143f236cb74df69d55214b3d62a8c7f2398c7f (patch) | |
tree | d7fe61096f591bd590018c8a4d95642d4fd2eb7b /sonar-core | |
parent | 5e788ca6ab7cf342fd9468f3c4764126c8a5bb62 (diff) | |
download | sonarqube-85143f236cb74df69d55214b3d62a8c7f2398c7f.tar.gz sonarqube-85143f236cb74df69d55214b3d62a8c7f2398c7f.zip |
Fix loading of comments when more than 1000 issues
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/issue/db/IssueChangeMapper.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueChangeMapper.xml b/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueChangeMapper.xml index 1620663a1ff..d9d778458a0 100644 --- a/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueChangeMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueChangeMapper.xml @@ -42,12 +42,12 @@ select <include refid="issueChangeColumns"/> from issue_changes c - where c.change_type=#{changeType} and + where c.change_type=#{changeType} and ( <foreach collection="issueKeys" open="c.issue_key in (" close=")" item="list" separator=") or c.issue_key in ("> <foreach collection="list" item="element" separator=","> #{element} </foreach> - </foreach> + </foreach>) order by c.created_at </select> |