X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/549acfa918c04fa20b3386fece25ce69b3565519..942e62117ff7f12d40618a94ea3f4e86f8cb25af:/app/models/changeset.rb 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")