From: Julien Lancelot Date: Thu, 15 Jan 2015 07:39:19 +0000 (+0100) Subject: Fix query X-Git-Tag: latest-silver-master-#65~213 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0faa4541176ca28229345d47fa1745b31b597e86;p=sonarqube.git Fix query --- diff --git a/sonar-core/src/main/resources/org/sonar/core/component/db/ComponentMapper.xml b/sonar-core/src/main/resources/org/sonar/core/component/db/ComponentMapper.xml index 78dd1160a11..2299aeebe22 100644 --- a/sonar-core/src/main/resources/org/sonar/core/component/db/ComponentMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/component/db/ComponentMapper.xml @@ -140,7 +140,7 @@ INNER JOIN projects root_project ON root_project.uuid = p.project_uuid AND root_project.enabled = TRUE - INNER JOIN projects module ON module.project_uuid = root_project.uuid AND module.enabled = TRUE AND module.kee = #{moduleKey} + INNER JOIN projects module ON module.project_uuid = root_project.uuid AND module.enabled = ${_true} AND module.kee = #{moduleKey} p.enabled = ${_true} AND p.scope = #{scope}