diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-06-20 17:46:52 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-06-21 20:21:29 +0200 |
commit | eeb2e973bd984307ff6014e548717a89c2bbcaca (patch) | |
tree | a21c611b9de3d542085e4fb1138dee3cb8af9f30 /server | |
parent | d55ab8e0a6c65451bba8bd4a635d6f07d41a43b2 (diff) | |
download | sonarqube-eeb2e973bd984307ff6014e548717a89c2bbcaca.tar.gz sonarqube-eeb2e973bd984307ff6014e548717a89c2bbcaca.zip |
SONAR-10603 Explore page should sort project by analysis date by default (#410)
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/nav/global/GlobalNavExplore.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavExplore.tsx b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavExplore.tsx index aaf35d724e2..5ccdbe3ec43 100644 --- a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavExplore.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavExplore.tsx @@ -30,7 +30,9 @@ export default function GlobalNavExplore({ location }: Props) { return ( <li> - <Link className={active ? 'active' : undefined} to="/explore/projects"> + <Link + className={active ? 'active' : undefined} + to={{ pathname: '/explore/projects', query: { sort: '-analysis_date' } }}> {translate('explore')} </Link> </li> |