From: Tom Hughes Date: Tue, 28 Aug 2018 17:53:45 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/1948' X-Git-Tag: live~4119 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/e0abb299d01097a5469a7e72b2e63194e0cc6003?hp=32a400c5af2bd709f05caad751f4f97dcadc96ce Merge remote-tracking branch 'upstream/pull/1948' --- diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 502637c2a..1aa1e1fd3 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -232,6 +232,7 @@ class Changeset < ActiveRecord::Base bbox.to_unscaled.add_bounds_to(el1, "_") if bbox.complete? el1["comments_count"] = comments.length.to_s + el1["changes_count"] = num_changes.to_s if include_discussion el2 = XML::Node.new("discussion")