aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/coding-rules/models/state.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-03-03 17:57:32 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-03-03 17:57:32 +0100
commitb88fd7049dd271e115bbc1f48b49e5d830ee6ef9 (patch)
treebd11cef40b27df101bc5b93d75f694000c8544fc /server/sonar-web/src/main/js/coding-rules/models/state.js
parent1fd202c62b8f7a45b022720fd6a9968dfff5eda9 (diff)
downloadsonarqube-b88fd7049dd271e115bbc1f48b49e5d830ee6ef9.tar.gz
sonarqube-b88fd7049dd271e115bbc1f48b49e5d830ee6ef9.zip
SONAR-6233 fix characteristic facet on rules page
Diffstat (limited to 'server/sonar-web/src/main/js/coding-rules/models/state.js')
-rw-r--r--server/sonar-web/src/main/js/coding-rules/models/state.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/coding-rules/models/state.js b/server/sonar-web/src/main/js/coding-rules/models/state.js
index 050a7ff58b3..97720d9d5de 100644
--- a/server/sonar-web/src/main/js/coding-rules/models/state.js
+++ b/server/sonar-web/src/main/js/coding-rules/models/state.js
@@ -30,7 +30,9 @@ define([
allFacets: ['q', 'rule_key', 'languages', 'tags', 'repositories', 'debt_characteristics', 'severities',
'statuses', 'available_since', 'is_template', 'qprofile', 'inheritance', 'active_severities'],
facetsFromServer: ['languages', 'repositories', 'tags', 'severities', 'statuses', 'debt_characteristics'],
- transform: {}
+ transform: {
+ 'has_debt_characteristic': 'debt_characteristics'
+ }
}
});