[openstreetmap-website] Number of received blocks on user page incorrect (#1168)

Stephan notifications at github.com
Mon Feb 29 14:06:38 UTC 2016


Number of blocks received is not correctly displayed on the user page.

Check here:
https://www.openstreetmap.org/user/wambacher

it lists "blocks received 0"
but clicking on the link reveals that the user had 1 block in the past
https://www.openstreetmap.org/user/wambacher/blocks
https://www.openstreetmap.org/user_blocks/605

By comparing with this user:
https://www.openstreetmap.org/user/sorein
https://www.openstreetmap.org/user/sorein/blocks

it looks like it is counting the active blocks which would be either 0 or 1.

Should be corrected to display the number of blocks received. So user "sorein" would show 7 blocks.


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160229/65400768/attachment.html>


More information about the rails-dev mailing list