]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/1948'
authorTom Hughes <tom@compton.nu>
Tue, 28 Aug 2018 17:53:45 +0000 (18:53 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 28 Aug 2018 17:53:45 +0000 (18:53 +0100)
app/models/changeset.rb

index 502637c2a69b8926fc84a4dac6b2403f152574d4..1aa1e1fd300d36eedf230b0304e18ab662fbe50e 100644 (file)
@@ -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")