processwire-issues
processwire-issues copied to clipboard
`findRaw()` returns unpublished page reference fields
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
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
- Have a page reference field where some pages have been selected that are unpublished.