aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-06-20 17:46:52 +0200
committerSonarTech <sonartech@sonarsource.com>2018-06-21 20:21:29 +0200
commiteeb2e973bd984307ff6014e548717a89c2bbcaca (patch)
treea21c611b9de3d542085e4fb1138dee3cb8af9f30 /server
parentd55ab8e0a6c65451bba8bd4a635d6f07d41a43b2 (diff)
downloadsonarqube-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.tsx4
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>