Merge remote-tracking branch 'upstream/pull/1948'

This commit is contained in:
Tom Hughes 2018-08-28 18:53:45 +01:00
commit e0abb299d0

View file

@ -232,6 +232,7 @@ class Changeset < ActiveRecord::Base
bbox.to_unscaled.add_bounds_to(el1, "_") if bbox.complete? bbox.to_unscaled.add_bounds_to(el1, "_") if bbox.complete?
el1["comments_count"] = comments.length.to_s el1["comments_count"] = comments.length.to_s
el1["changes_count"] = num_changes.to_s
if include_discussion if include_discussion
el2 = XML::Node.new("discussion") el2 = XML::Node.new("discussion")