]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Update Potlatch 2 to 2.3-11-gfd60020 build
[rails.git] / app / controllers / changeset_controller.rb
index 5a4dc36fb62a137d95a2dc1db2a858e61c22c990..45b5f80f9479c7fe8c300d363f77215083e344d8 100644 (file)
@@ -312,6 +312,8 @@ class ChangesetController < ApplicationController
       @page = (params[:page] || 1).to_i
       @page_size = 20
 
+      @bbox = bbox
+      
       @edits = Changeset.find(:all,
                               :include => [:user, :changeset_tags],
                               :conditions => conditions,
@@ -444,7 +446,7 @@ private
   # eliminate empty changesets (where the bbox has not been set)
   # this should be applied to all changeset list displays
   def conditions_nonempty()
-    return ['min_lat IS NOT NULL']
+    return ['num_changes > 0']
   end
   
 end