noosfero | Adds "Filter by Profile Kind" option to ProfileListBlock (!1391)
Gabriel Silva
gitlab at mg.gitlab.com
Thu Feb 1 17:05:52 BRST 2018
Gabriel Silva commented on a discussion on app/models/profile_list_block.rb:
> def profile_list
> result = nil
> public_profiles = profiles.is_public.includes([:image,:domains,:preferred_domain,:environment])
> + public_profiles = filter_by_kind(public_profiles) if kind_filter.present?
Indeed. I've removed these conditions
---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1391#note_57196650
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/20180201/e1758d51/attachment.html>
More information about the Noosfero-dev
mailing list