]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Use num_changes to detect empty changesets instead of the bbox
[rails.git] / app / controllers / changeset_controller.rb
index 0aeaf200d12393d8cba4e7cbca0e001f2d7e43ad..45b5f80f9479c7fe8c300d363f77215083e344d8 100644 (file)
@@ -446,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()
   # 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
   end
   
 end