Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User is always DevelopmentSeed #72

Open
dereklieu opened this issue May 14, 2015 · 2 comments · May be fixed by #78
Open

User is always DevelopmentSeed #72

dereklieu opened this issue May 14, 2015 · 2 comments · May be fixed by #78

Comments

@dereklieu
Copy link
Contributor

This little guy is supposed to tell us all the users who made changes on the current map extent.

screen shot 2015-05-14 at 2 36 41 pm

However, it only ever says DevelopmentSeed, making me think we're doing something wrong on the server-side, possibly in the bbox endpoint.

[edit] for clarity all the names are DevelopmentSeed even when I make a new road and zoom in to only see that road.

@kriscarle
Copy link
Contributor

I was able to track this down, I had to join in the changesets and users tables and then update xml.js to use the new values instead of the hardcoded ones. I can put together a pull request.

knex.select('current_nodes.*', 'users.display_name as user', 'users.id as uid')
            .from('current_nodes')
            .leftJoin('changesets', 'current_nodes.changeset_id', 'changesets.id')
            .leftJoin('users', 'changesets.user_id', 'users.id')
            .where('current_nodes.id', nodeId),

@dereklieu
Copy link
Contributor Author

Hey @kriscarle if you had time to put a PR, that'd be great. Thanks for looking into this!

@kriscarle kriscarle linked a pull request Jul 22, 2015 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants