From cb010a0100bceb937d43fb4ff44bba281afa27f9 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 10 Nov 2016 16:47:03 +0100 Subject: [PATCH] fix requesting of issues facet --- server/sonar-web/src/main/js/apps/issues/controller.js | 3 +++ 1 file changed, 3 insertions(+) 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')); } -- 2.39.5