diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-05-01 17:48:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 17:48:42 +0200 |
commit | 4712ad2d974220f42893f6509ec5f0b7a7b446b0 (patch) | |
tree | 2ece706f5fed984c2fd996b5f87e5b0956eb1642 /server/sonar-web/src/main/js/apps/about/components | |
parent | 43f27896459dec1a76dc117db3a5b22afb99e0ff (diff) | |
download | sonarqube-4712ad2d974220f42893f6509ec5f0b7a7b446b0.tar.gz sonarqube-4712ad2d974220f42893f6509ec5f0b7a7b446b0.zip |
sort issues by creation date when coming from about page (#1993)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about/components')
-rw-r--r-- | server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js | 10 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js | 10 |
2 files changed, 14 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js index 010c2912f5c..349dbf85bba 100644 --- a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js +++ b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js @@ -43,7 +43,7 @@ export default class EntryIssueTypes extends React.PureComponent { <tr> <td className="about-page-issue-type-number"> <Link - to={getIssuesUrl({ resolved: 'false', types: 'BUG' })} + to={getIssuesUrl({ resolved: 'false', types: 'BUG', s: 'CREATION_DATE' })} className="about-page-issue-type-link"> {formatMeasure(bugs, 'SHORT_INT')} </Link> @@ -56,7 +56,11 @@ export default class EntryIssueTypes extends React.PureComponent { <tr> <td className="about-page-issue-type-number"> <Link - to={getIssuesUrl({ resolved: 'false', types: 'VULNERABILITY' })} + to={getIssuesUrl({ + resolved: 'false', + types: 'VULNERABILITY', + s: 'CREATION_DATE' + })} className="about-page-issue-type-link"> {formatMeasure(vulnerabilities, 'SHORT_INT')} </Link> @@ -69,7 +73,7 @@ export default class EntryIssueTypes extends React.PureComponent { <tr> <td className="about-page-issue-type-number"> <Link - to={getIssuesUrl({ resolved: 'false', types: 'CODE_SMELL' })} + to={getIssuesUrl({ resolved: 'false', types: 'CODE_SMELL', s: 'CREATION_DATE' })} className="about-page-issue-type-link"> {formatMeasure(codeSmells, 'SHORT_INT')} </Link> diff --git a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js index e2a8e7ad16c..e7ef546f2ac 100644 --- a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js +++ b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js @@ -43,7 +43,7 @@ export default class EntryIssueTypesForSonarQubeDotCom extends React.PureCompone <tr> <td className="about-page-issue-type-number"> <Link - to={getIssuesUrl({ resolved: 'false', types: 'BUG' })} + to={getIssuesUrl({ resolved: 'false', types: 'BUG', s: 'CREATION_DATE' })} className="about-page-issue-type-link"> {formatMeasure(bugs, 'SHORT_INT')} </Link> @@ -56,7 +56,11 @@ export default class EntryIssueTypesForSonarQubeDotCom extends React.PureCompone <tr> <td className="about-page-issue-type-number"> <Link - to={getIssuesUrl({ resolved: 'false', types: 'VULNERABILITY' })} + to={getIssuesUrl({ + resolved: 'false', + types: 'VULNERABILITY', + s: 'CREATION_DATE' + })} className="about-page-issue-type-link"> {formatMeasure(vulnerabilities, 'SHORT_INT')} </Link> @@ -69,7 +73,7 @@ export default class EntryIssueTypesForSonarQubeDotCom extends React.PureCompone <tr> <td className="about-page-issue-type-number"> <Link - to={getIssuesUrl({ resolved: 'false', types: 'CODE_SMELL' })} + to={getIssuesUrl({ resolved: 'false', types: 'CODE_SMELL', s: 'CREATION_DATE' })} className="about-page-issue-type-link"> {formatMeasure(codeSmells, 'SHORT_INT')} </Link> |