You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there,
Thank you for the awesome plugin, it accomplishes exactly what I was looking for!
I was curious if you were planning to support eager loading through the find() criteria attribute.
I have my $limitCriteria all set and have my eager loaded elements defined within ->with(), but it seems the way the method ends up getting each $model after the results have been found (by $elements->getElementById()) doesn't account for eager loading.
Supporting this would be awesome, but if that's not something on the horizon or maybe there is a reason it isn't accounted for please let me know!
The text was updated successfully, but these errors were encountered:
khalwat
changed the title
Support for eager loading through 'criteria'
[FR] Support for eager loading through 'criteria'
Jan 5, 2019
...would need to be changed to an $elementClass::find() element query, which would have the added benefit of being able to do it all at once (by passing in the array of found IDs), and you could add the with there as well.
Hey there,
Thank you for the awesome plugin, it accomplishes exactly what I was looking for!
I was curious if you were planning to support eager loading through the
find()
criteria attribute.I have my
$limitCriteria
all set and have my eager loaded elements defined within->with()
, but it seems the way the method ends up getting each$model
after the results have been found (by$elements->getElementById()
) doesn't account for eager loading.Supporting this would be awesome, but if that's not something on the horizon or maybe there is a reason it isn't accounted for please let me know!
The text was updated successfully, but these errors were encountered: