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 page ID with pid prefix for page reference fields in a table field. #1968

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

Comments

@adrianbj
Copy link

adrianbj commented Sep 11, 2024

Short description of the issue

If you have a table field with a PR field as one of the subfields, you will get a string like:
image

instead of an array like:
image

Expected behavior

An clean array of PIDs (without the pid prefix) should be returned

Actual behavior

See screenshot above

Steps to reproduce the issue

  1. Create a Profields Table field with a page reference subfield
  2. Make a $pages->findRaw() call to find pages with this table field.
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

No branches or pull requests

1 participant