Opened 8 years ago

Last modified 7 years ago

#3581 assigned enhancement

"users in your area" should be order by active users

Reported by: eMerzh Owned by: rails-dev@…
Priority: minor Milestone: Wishlist
Component: website Version:
Keywords: user_location Cc:

Description

The feature of "users in your area" can be really usefull but the current implementation need some enhancements.

some enhancements can be to extend the radius as #436 or haev multiple radius as #437.

But what i think is easier and better is to order results by "active" users... or at least users that has already mapped something.

because in my area there is a lot of users but none has already edit the map.

we only need to change the :order close in the nearby method: http://git.openstreetmap.org/rails.git/blob/refs/heads/master:/app/models/user.rb#l117

Thanks

Change History (4)

comment:1 Changed 8 years ago by TomH

  • Milestone set to Wishlist
  • Owner changed from tom@… to phantom.coder@…
  • Priority changed from major to minor
  • Status changed from new to assigned

So what is this magic field that I can order by that will order by "activeness" exactly?

comment:2 Changed 8 years ago by eMerzh

We may start by active? (i'm not sur what it is exactly) ...
and we may add last changeset in a join (it may be too slow?!) or last edit in the user profile...

comment:3 Changed 7 years ago by TomH

  • Owner changed from phantom.coder@… to rails-dev@…

comment:4 Changed 7 years ago by stevens

  • Keywords user_location added
Note: See TracTickets for help on using tickets.