diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-11-10 16:47:03 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-11-10 16:47:03 +0100 |
commit | cb010a0100bceb937d43fb4ff44bba281afa27f9 (patch) | |
tree | 9e361cf763476176c0c4bbba06d1844bdb3380b0 /server | |
parent | 763be235437942939c29bf26c0f6663be721d0bb (diff) | |
download | sonarqube-cb010a0100bceb937d43fb4ff44bba281afa27f9.tar.gz sonarqube-cb010a0100bceb937d43fb4ff44bba281afa27f9.zip |
fix requesting of issues facet
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/controller.js | 3 |
1 files changed, 3 insertions, 0 deletions
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')); } |