aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
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)}`);