diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/controller.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/controller.js | 4 |
1 files changed, 3 insertions, 1 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 398f94344d2..31a13f246da 100644 --- a/server/sonar-web/src/main/js/apps/issues/controller.js +++ b/server/sonar-web/src/main/js/apps/issues/controller.js @@ -29,7 +29,9 @@ const FACET_DATA_FIELDS = ['components', 'users', 'rules', 'actionPlans', 'langu export default Controller.extend({ _facetsFromServer: function () { var facets = Controller.prototype._facetsFromServer.apply(this, arguments) || []; - facets.push('assigned_to_me'); + if (facets.indexOf('assignees') !== -1) { + facets.push('assigned_to_me'); + } return facets; }, |