diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-11-17 11:34:57 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-11-17 11:35:05 +0100 |
commit | 4bfa8e9c56b484052bb82b0ec617fc682a46c59c (patch) | |
tree | c62570f7124e9627a57d4c2d0ed58bbaeae8c01a /server/sonar-web/src/main | |
parent | d36234aa1b3cdb9dbd408ad0773892b8a7b5c3bc (diff) | |
download | sonarqube-4bfa8e9c56b484052bb82b0ec617fc682a46c59c.tar.gz sonarqube-4bfa8e9c56b484052bb82b0ec617fc682a46c59c.zip |
fix bulk change of my issues
Diffstat (limited to 'server/sonar-web/src/main')
-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 0771617c3a0..0ed0a70442b 100644 --- a/server/sonar-web/src/main/js/apps/issues/controller.js +++ b/server/sonar-web/src/main/js/apps/issues/controller.js @@ -142,6 +142,9 @@ export default Controller.extend({ if (addContext && this.options.app.state.get('isContext')) { _.extend(filter, this.options.app.state.get('contextQuery')); } + if (this.options.app.state.get('query').assigned_to_me) { + _.extend(filter, { assignees: '__me__' }); + } const route = []; _.map(filter, function (value, property) { return route.push(`${property}=${encodeURIComponent(value)}`); |