diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2017-10-13 17:17:39 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk@users.noreply.github.com> | 2017-10-16 09:34:11 +0200 |
commit | 18af892e0df11889eb699c4e562e6bbd979b559f (patch) | |
tree | 83fa15f70ccfab966c8438004e507fb8df710c2f /server/sonar-web/src/main/js | |
parent | 8aa5edf5a81a9eff3cb92d18eb6a51272b4418e3 (diff) | |
download | sonarqube-18af892e0df11889eb699c4e562e6bbd979b559f.tar.gz sonarqube-18af892e0df11889eb699c4e562e6bbd979b559f.zip |
SONAR-8392 Order components by name ascending as default ordering for equalities
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.js b/server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.js index 16ba5d4ba82..12f3616697d 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.js +++ b/server/sonar-web/src/main/js/apps/component-measures/components/MeasureContent.js @@ -133,7 +133,7 @@ export default class MeasureContent extends React.PureComponent { opts.asc = metric.direction === 1; opts.ps = 100; opts.metricSort = metric.key; - opts.s = isDiff ? 'metricPeriod,name' : 'metric,name'; + opts.s = isDiff ? 'metricPeriod' : 'metric'; } return { metricKeys, opts: { ...opts, ...options }, strategy }; }; |