noosfero | Fix to not show person templates on people block (!1197)

Leandro Nunes gitlab at mg.gitlab.com
Fri May 5 11:37:33 BRT 2017


Leandro Nunes started a new discussion on plugins/people_block/lib/members_block.rb:

>    end
>  
>    def profiles
> -    role ? owner.members.with_role(role.id) : owner.members
> +    role ? owner.members.with_role(role.id) : owner.members.no_templates

@josafassj Please make at least one test to simulate this situation

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1197#note_28919167
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170505/0abaa773/attachment.html>


More information about the Noosfero-dev mailing list