aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-11-17 17:36:55 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-11-17 17:36:55 +0100
commit81618cb140dc180ee001c859d9845815718e9ddb (patch)
tree864c479a2b2fbebfb322c613a06e3bd0b9804ff3
parent7e3f54ad29065bda2c4888495a6ba36209768e55 (diff)
downloadsonarqube-81618cb140dc180ee001c859d9845815718e9ddb.tar.gz
sonarqube-81618cb140dc180ee001c859d9845815718e9ddb.zip
fix assignee facet, part 2
-rw-r--r--server/sonar-web/src/main/js/apps/issues/controller.js4
1 files changed, 2 insertions, 2 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 0ed0a70442b..619bcacdb23 100644
--- a/server/sonar-web/src/main/js/apps/issues/controller.js
+++ b/server/sonar-web/src/main/js/apps/issues/controller.js
@@ -131,7 +131,7 @@ export default Controller.extend({
return q;
},
- getQuery (separator, addContext) {
+ getQuery (separator, addContext, handleMyIssues = false) {
if (separator == null) {
separator = '|';
}
@@ -142,7 +142,7 @@ 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) {
+ if (handleMyIssues && this.options.app.state.get('query').assigned_to_me) {
_.extend(filter, { assignees: '__me__' });
}
const route = [];