aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/code/components/Search.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/code/components/Search.js')
-rw-r--r--server/sonar-web/src/main/js/apps/code/components/Search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/Search.js b/server/sonar-web/src/main/js/apps/code/components/Search.js
index d54f727e5f3..659b397074c 100644
--- a/server/sonar-web/src/main/js/apps/code/components/Search.js
+++ b/server/sonar-web/src/main/js/apps/code/components/Search.js
@@ -103,7 +103,7 @@ export default class Search extends React.Component {
window.location = getComponentUrl(selected.refKey);
} else {
this.context.router.push({
- pathname: '/',
+ pathname: '/code',
query: {
id: component.key,
selected: selected.key