diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-01-13 21:44:26 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-01-13 21:44:26 +0100 |
commit | 6f7db1c549d9cf569a847cd862471fdaccde3014 (patch) | |
tree | fa50340d24edc2a806f137601f2ffeea1e009289 /sonar-core | |
parent | 808e4f107fdd1659a41bb616660090fc04a9d7c0 (diff) | |
download | sonarqube-6f7db1c549d9cf569a847cd862471fdaccde3014.tar.gz sonarqube-6f7db1c549d9cf569a847cd862471fdaccde3014.zip |
SONAR-3024 Allow to query issues using deprecated component key to ease migration
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 c733b5e4f1d..6e8fa62eb5e 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 @@ -230,7 +230,7 @@ </if> <if test="query.components().size() > 0"> inner join projects project_component on project_component.id=i.component_id and project_component.enabled=${_true} and - <foreach item="component" index="index" collection="query.components()" open="(" separator=" or " close=")">project_component.kee=#{component} + <foreach item="component" index="index" collection="query.components()" open="(" separator=" or " close=")">project_component.kee=#{component} or project_component.deprecated_kee=#{component} </foreach> </if> <if test="query.rules().size()>0"> |