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

findRaw() returns unpublished page reference fields #1969

Open
adrianbj opened this issue Sep 11, 2024 · 0 comments
Open

findRaw() returns unpublished page reference fields #1969

adrianbj opened this issue Sep 11, 2024 · 0 comments

Comments

@adrianbj
Copy link

adrianbj commented Sep 11, 2024

Short description of the issue

findRaw() and getRaw() return unpublished page reference fields.

Expected behavior

I think unpublished pages should not be returned

Optional: Screenshots/Links that demonstrate the issue

image

Optional: Suggestion for a possible fix

I am not sure if this behavior is intentional or not, but I am not sure if there is actually a way to override this and just get published pages as is the default for a regular find/get

Steps to reproduce the issue

  1. Have a page reference field where some pages have been selected that are unpublished.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants