Skip to content

Populate entry preview#1335

Open
fredrikkarlsson-pervanovo wants to merge 1 commit intoagentejo:nextfrom
Pervanovo:pr-populate-entrypreview
Open

Populate entry preview#1335
fredrikkarlsson-pervanovo wants to merge 1 commit intoagentejo:nextfrom
Pervanovo:pr-populate-entrypreview

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