You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a PostgreSQL database and creating a join field on a collection that references itself (self-join), the referenced documents are not displayed or fetched as expected. Specifically:
The referenced documents do not appear in the corresponding collection's join column in the collection table.
Column sorting does not affect the relationship column.
The referenced documents are not accessible through the APIs (Local and REST).
Describe the Bug
When using a PostgreSQL database and creating a join field on a collection that references itself (self-join), the referenced documents are not displayed or fetched as expected. Specifically:
Link to the code that reproduces this issue
https://github.com/tobiasiv/payload-reproduction/tree/self-join
Reproduction Steps
pnpm dev
Which area(s) are affected? (Select all that apply)
db-postgres, area: ui
Environment Info
The text was updated successfully, but these errors were encountered: