Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Open

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

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: eMerzh
[Submitted to the original trac issue database at 7.43pm, Sunday, 13th March 2011]

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

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 11.09am, Monday, 14th March 2011]

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

@openstreetmap-trac
Copy link
Author

Author: eMerzh
[Added to the original trac issue at 11.41am, Monday, 14th March 2011]

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant