From: Stas Vilchik Date: Thu, 10 Nov 2016 15:47:03 +0000 (+0100) Subject: fix requesting of issues facet X-Git-Tag: 6.2-RC1~129 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cb010a0100bceb937d43fb4ff44bba281afa27f9;p=sonarqube.git fix requesting of issues facet --- diff --git a/server/sonar-web/src/main/js/apps/issues/controller.js b/server/sonar-web/src/main/js/apps/issues/controller.js index 8c5d2cf54f4..0771617c3a0 100644 --- a/server/sonar-web/src/main/js/apps/issues/controller.js +++ b/server/sonar-web/src/main/js/apps/issues/controller.js @@ -101,6 +101,9 @@ export default Controller.extend({ const that = this; const facet = this.options.app.facets.get(id); const data = _.extend({ facets: id, ps: 1, additionalFields: '_all' }, this.options.app.state.get('query')); + if (this.options.app.state.get('query').assigned_to_me) { + _.extend(data, { assignees: '__me__' }); + } if (this.options.app.state.get('isContext')) { _.extend(data, this.options.app.state.get('contextQuery')); }