Permalink
Browse files

Fixing view, wbs as numbers

  • Loading branch information...
1 parent 671d058 commit f74e965c802ed84914dcbe146f7e4d1f432fce6b Szaby Grünwald committed Sep 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/EffortAllocPartner/map.coffee
@@ -6,6 +6,6 @@
genKey = (doc) ->
taskRegExp = new RegExp "http://iks-project.eu/task/(\\d+)\.(\\d+)"
wbs = taskRegExp.exec doc['task']
- key = [doc['assignee'], wbs[1], wbs[2]]
+ key = [doc['assignee'], Number(wbs[1]), Number(wbs[2])]
emit genKey(doc), doc

0 comments on commit f74e965

Please sign in to comment.