Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate entry preview #1335

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

fredrikkarlsson-pervanovo
Copy link
Contributor

@fredrikkarlsson-pervanovo fredrikkarlsson-pervanovo commented Oct 6, 2020

We use populated entries in our frontend code and entry preview does not populate. So I added a "Populate" switch to collection preview settings and fetch linked entries in collection-entrypreview tag if it is truthy. The linked entries are cached and will only be loaded once.

image

@fredrikkarlsson-pervanovo
Copy link
Contributor Author

@aheinze Any thoughts on this?

@fredrikkarlsson-pervanovo
Copy link
Contributor Author

Rebased this to be easily merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants