Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | webform_entity-1444458-1.patch | 2.37 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettThis removes the entire getReferencableEntities method, since after this change, its equivalent to the parent.
Comment #2
tim.plunkettFixed.
http://drupalcode.org/project/webform_entity.git/commit/9765a85
Comment #3
tizzo CreditAttribution: tizzo commentedThanks Tim, looks great.