The 7.x-1.x branch filters for author in getReferencableEntities, after the query is executed and the entities loaded.
First, this can mean that the limit is not actually respected, since it's applied before the filtering.
Second, it means it loads all available entities.

The master branch has a different method that seems more sane.

CommentFileSizeAuthor
#1 webform_entity-1444458-1.patch2.37 KBtim.plunkett

Comments

tim.plunkett’s picture

Status: Active » Needs review
StatusFileSize
new2.37 KB

This removes the entire getReferencableEntities method, since after this change, its equivalent to the parent.

tim.plunkett’s picture

tizzo’s picture

Thanks Tim, looks great.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.