noosfero | Split members page in admins and non-admins (#646)
Daniela Feitosa
gitlab at gitlab.com
Thu Aug 6 14:48:56 BRT 2015
New comment for Merge Request 646
https://gitlab.com/noosfero/noosfero/merge_requests/646#note_1839449
Daniela Feitosa
`all_members` is already loaded and calling `.count` on it will load all them again.
In this case, you should use `size` to avoid touching the database.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150806/0acfb91b/attachment-0001.html>
More information about the Noosfero-dev
mailing list