{"issue":{"state":"closed","created_at":"2011-11-14T12:08:39Z","updated_at":"2011-11-23T13:11:49Z","user":{"gravatar_id":"ebc3c147470d198e02b0845433a39cba","id":434584,"url":"https://api.github.com/users/deuskaos","login":"deuskaos","avatar_url":"https://secure.gravatar.com/avatar/ebc3c147470d198e02b0845433a39cba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":6,"body":"I have this:\r\n\r\n{% macro ciudades(provincia, ciudades, escortsMain) %}\r\n{% for randEscort in escortsMain %}\r\n{% for ciudad in ciudades if ciudad == randEscort.ciudad and if loop.index < 4 %}\r\n    {{ loop.index }} /* IT GETS ME 1, 1, 1, 1, 1... */\r\n{% endfor %}\r\n{% endfor %}\r\n{% endmacro %}","assignee":null,"number":516,"id":2229911,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"loop.index error","closed_at":"2011-11-23T13:11:49Z","html_url":"https://github.com/fabpot/Twig/issues/516","milestone":null,"url":"https://api.github.com/repos/fabpot/Twig/issues/516"},"action":"created","comment":{"created_at":"2011-11-23T13:11:49Z","updated_at":"2011-11-23T13:11:49Z","user":{"gravatar_id":"ebc3c147470d198e02b0845433a39cba","id":434584,"url":"https://api.github.com/users/deuskaos","login":"deuskaos","avatar_url":"https://secure.gravatar.com/avatar/ebc3c147470d198e02b0845433a39cba?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Ty I think now it's all clear :)","id":2848484,"url":"https://api.github.com/repos/fabpot/Twig/issues/comments/2848484"}}