From 95314e58decc1185afc29a1428cac374a935d8fb Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Fri, 19 Jun 2015 16:24:24 +0200 Subject: SONAR-6582 Fix reporter serialization in issues search --- server/sonar-web/src/main/js/apps/issues/controller.js | 2 +- server/sonar-web/src/main/js/apps/issues/models/issues.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'server/sonar-web/src/main/js/apps/issues') 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 41fcd6433be..1ddcdb180bf 100644 --- a/server/sonar-web/src/main/js/apps/issues/controller.js +++ b/server/sonar-web/src/main/js/apps/issues/controller.js @@ -5,7 +5,7 @@ define([ ], function (Controller, ComponentViewer, HomeView) { var $ = jQuery, - EXTRA_FIELDS = 'actions,transitions,reporterName,actionPlanName', + EXTRA_FIELDS = 'actions,transitions,actionPlanName', FACET_DATA_FIELDS = ['components', 'projects', 'users', 'rules', 'actionPlans', 'languages']; return Controller.extend({ diff --git a/server/sonar-web/src/main/js/apps/issues/models/issues.js b/server/sonar-web/src/main/js/apps/issues/models/issues.js index 66be85a7464..06abb122653 100644 --- a/server/sonar-web/src/main/js/apps/issues/models/issues.js +++ b/server/sonar-web/src/main/js/apps/issues/models/issues.js @@ -63,6 +63,7 @@ define([ }); } issue = that._injectRelational(issue, r.users, 'assignee', 'login'); + issue = that._injectRelational(issue, r.users, 'reporter', 'login'); return issue; }); }, -- cgit v1.2.3