-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
feature requestNew feature or requestNew feature or request
Description
What are you trying to do?
We are trying to create a custom view for publishers and reviewers to look at a subset of submissions, and for each submission attempting to access the following:
submission.ownersubmission.lastReviewsubmission.lastReview.elementsubmission.lastReview.user.username
This is resulting in many duplicated queries and long page load times. Would be great if there was an option to eager-load one or more of these attributes when calling craft.workflow.submissions().
What's your proposed solution?
Add support for craft.workflow.submissions().with() to eager-load submission attributes.
Additional context
No response
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or request