From 21cdccf048db95fdeae2bf7046c2f2d830d172f5 Mon Sep 17 00:00:00 2001
From: Grégoire Aubert <gregoire.aubert@sonarsource.com>
Date: Fri, 23 Jun 2017 11:56:42 +0200
Subject: Add missing parameters on first load of project activity list

---
 server/sonar-web/src/main/js/apps/projectActivity/utils.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'server/sonar-web')

diff --git a/server/sonar-web/src/main/js/apps/projectActivity/utils.js b/server/sonar-web/src/main/js/apps/projectActivity/utils.js
index 4375069aad9..70447874ed1 100644
--- a/server/sonar-web/src/main/js/apps/projectActivity/utils.js
+++ b/server/sonar-web/src/main/js/apps/projectActivity/utils.js
@@ -111,7 +111,9 @@ export const parseQuery = (urlQuery: RawQuery): Query => ({
 export const serializeQuery = (query: Query): RawQuery =>
   cleanQuery({
     category: serializeString(query.category),
-    project: serializeString(query.project)
+    from: serializeDate(query.from),
+    project: serializeString(query.project),
+    to: serializeDate(query.to)
   });
 
 export const serializeUrlQuery = (query: Query): RawQuery => {
-- 
cgit v1.2.3