aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-06-23 11:56:42 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-07-04 14:15:34 +0200
commit21cdccf048db95fdeae2bf7046c2f2d830d172f5 (patch)
tree85ea866c0f01a86629364656562b69f1d8fb1099 /server/sonar-web/src/main/js
parentd55ab331ed66b29cfd99c0a41f94c4ddf521f4ca (diff)
downloadsonarqube-21cdccf048db95fdeae2bf7046c2f2d830d172f5.tar.gz
sonarqube-21cdccf048db95fdeae2bf7046c2f2d830d172f5.zip
Add missing parameters on first load of project activity list
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/apps/projectActivity/utils.js4
1 files changed, 3 insertions, 1 deletions
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 => {