Use num_changes to detect empty changesets instead of the bbox

This commit is contained in:
Tom Hughes 2011-07-12 15:55:17 +01:00
parent ea207f51cc
commit e5c80c80ad
3 changed files with 4 additions and 2 deletions

View 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()
return ['min_lat IS NOT NULL']
return ['num_changes > 0']
end
end