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 fredrikkarlsson-pervanovo force-pushed the pr-populate-entrypreview branch 2 times, most recently from 15aaf71 to e8c8ed2 Compare October 22, 2020 10:36
@fredrikkarlsson-pervanovo fredrikkarlsson-pervanovo force-pushed the pr-populate-entrypreview branch 2 times, most recently from 9ca781f to b28b19a Compare April 9, 2021 11:58
@fredrikkarlsson-pervanovo
Copy link
Contributor Author

@aheinze Any thoughts on this?

@fredrikkarlsson-pervanovo fredrikkarlsson-pervanovo force-pushed the pr-populate-entrypreview branch 2 times, most recently from fa5b580 to 8acb4ed Compare November 22, 2021 18:01
@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