aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-11-17 11:34:57 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-11-17 11:35:05 +0100
commit4bfa8e9c56b484052bb82b0ec617fc682a46c59c (patch)
treec62570f7124e9627a57d4c2d0ed58bbaeae8c01a /server/sonar-web/src/main
parentd36234aa1b3cdb9dbd408ad0773892b8a7b5c3bc (diff)
downloadsonarqube-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.js3
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)}`);