diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-05-15 09:35:28 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-05-15 09:35:28 +0200 |
commit | 8bc35f10900f9d48f797a8319b90749ea613e119 (patch) | |
tree | d8fcc718a3b7cdf032c640e6838744d417cb3a5d /sonar-core | |
parent | 22c3aa036cf949a01adb358344853c45591bb86d (diff) | |
download | sonarqube-8bc35f10900f9d48f797a8319b90749ea613e119.tar.gz sonarqube-8bc35f10900f9d48f797a8319b90749ea613e119.zip |
SONAR-3755 Fix query to find issues from module, package, etc.
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml | 2 |
1 files changed, 1 insertions, 1 deletions
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 e0e2c0f64af..57f50795d58 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 @@ -147,7 +147,7 @@ </foreach> and rootsnapshots.project_id=rootprojects.id and rootsnapshots.islast=${_true} - and (s.id=rootsnapshots.id or ((s.root_snapshot_id=rootsnapshots.id or s.root_snapshot_id=rootsnapshots.parent_snapshot_id) and + and (s.id=rootsnapshots.id or ((s.root_snapshot_id=rootsnapshots.id or s.root_snapshot_id=rootsnapshots.root_snapshot_id) and <choose> <when test="_databaseId == 'mssql'"> s.path LIKE rootsnapshots.path + CAST(rootsnapshots.id AS varchar(15)) + '.%' |