]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8373 Change the "Issues" link in the global navigation
authorStas Vilchik <vilchiks@gmail.com>
Wed, 9 Nov 2016 13:11:06 +0000 (14:11 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 10 Nov 2016 12:23:45 +0000 (13:23 +0100)
server/sonar-web/src/main/js/main/nav/global/global-nav-menu.js

index b959d4aec995184d53ad523ed0cf74882f936eda..7d25c1b1a25dc2c1b40a6e7c4f3dcc35971379a8 100644 (file)
@@ -40,7 +40,8 @@ export default React.createClass({
   },
 
   renderIssuesLink () {
-    const url = window.baseUrl + '/issues';
+    const query = window.SS.user ? '#resolved=false|assigned_to_me=true' : '#resolved=false';
+    const url = window.baseUrl + '/issues' + query;
     return (
         <li className={this.activeLink('/issues')}>
           <a href={url}>{translate('issues.page')}</a>