Fix report of select cycle's orders
Export using id instead of code
Merge branch 'distribution-rails3' of https://github.com/rede-gcr/noosfero into distribution-rails3