We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc2f149 commit 67a6a8aCopy full SHA for 67a6a8a
lib/redmine_gtt_print/issues_to_json.rb
@@ -37,11 +37,11 @@ def call
37
38
if (features = @issues.map(&:geodata_for_print).compact).any?
39
# TODO determine a proper center for the whole set of features
40
- center = features.first[:center]
41
- hsh[:attributes][:map] = IssueToJson.map_data(
42
- center,
43
- features.map{|f| f[:geojson] }
44
- )
+ #center = features.first[:center]
+ #hsh[:attributes][:map] = IssueToJson.map_data(
+ # center,
+ # features.map{|f| f[:geojson] }
+ #)
45
end
46
47
hsh.to_json
@@ -51,7 +51,7 @@ def call
51
52
def issue_to_data_row(i)
53
[
54
- i.id,
+ i.id.to_s,
55
i.status.name,
56
i.start_date,
57
i.created_on,
0 commit comments