From 53276ee02894351974eb4c1b2b97450e4360ce3f Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 25 Jan 2016 10:00:55 +0100 Subject: [PATCH] [backport] Issue 3744 New bulk insert of US assigns a 0 value to Points, but default should be '?' (or whatever is predefined), not '0' --- app/coffee/modules/common/estimation.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/common/estimation.coffee b/app/coffee/modules/common/estimation.coffee index 6cf8417f..0db8bf62 100644 --- a/app/coffee/modules/common/estimation.coffee +++ b/app/coffee/modules/common/estimation.coffee @@ -161,7 +161,7 @@ EstimationsService = ($template, $qqueue, $repo, $confirm, $q) -> values = _.map(@us.points, (v, k) => @pointsById[v]?.value) if values.length == 0 - return "0" + return "?" notNullValues = _.filter(values, (v) -> v?) if notNullValues.length == 0