Elgg/Elgg — pull request #7666 by mrclay (2014-12-12 05:28:41+00:00)
Title: pref(entities): adds preload_containers option to elgg_get_entities

This allows devs to preload the containing entities of a fetched list. It
refactors the EntityPreloader a bit to support both use cases, and adds
container preloading to lists of group discussions.

Fixes #7663

Where discussions appear across different groups, this save ~ 10 queries.