From: Stas Vilchik Date: Tue, 24 Jan 2017 12:55:37 +0000 (+0100) Subject: explicitly provide list of qualifiers to WS /api/components/tree X-Git-Tag: 6.3-RC1~405 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e093b1ceda4244cea50a59908cb054bc1cbb75d0;p=sonarqube.git explicitly provide list of qualifiers to WS /api/components/tree --- 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 91b527710ae..d5c8ae6baa0 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 @@ -135,7 +135,9 @@ export default class Search extends React.Component { if (this.mounted && this.checkInputValue(query)) { const { component, onError } = this.props; this.setState({ loading: true }); - getTree(component.key, { q: query, s: 'qualifier,name' }) + + // request all qualifiers except DIR + getTree(component.key, { q: query, s: 'qualifier,name', qualifiers: 'VW,SVW,TRK,BRC,UTS,FIL' }) .then(r => { // second time check if value has change due to api request if (this.mounted && this.checkInputValue(query)) {