]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-10603 Explore page should sort project by analysis date by default (#410)
authorStas Vilchik <stas.vilchik@sonarsource.com>
Wed, 20 Jun 2018 15:46:52 +0000 (17:46 +0200)
committerSonarTech <sonartech@sonarsource.com>
Thu, 21 Jun 2018 18:21:29 +0000 (20:21 +0200)
server/sonar-web/src/main/js/app/components/nav/global/GlobalNavExplore.tsx

index aaf35d724e20e84738d703f8fbef4140f5621f5f..5ccdbe3ec43aae66d3c4b983d08b03701f48fcc9 100644 (file)
@@ -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>