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

List view sort buttons cause incorrect relationship type data to show #9040

Open
rilrom opened this issue Nov 5, 2024 · 0 comments
Open

Comments

@rilrom
Copy link
Contributor

rilrom commented Nov 5, 2024

Describe the Bug

When relationship types are used in list view columns, the data shown becomes incorrect when using the sort buttons.

list-view-relationship-sort-issue.mp4

Link to the code that reproduces this issue

https://github.com/rilrom/payload/tree/list-view-relationship-sort-issue

Reproduction Steps

  1. Upload a file to the media collection.
  2. Create another post with the recently uploaded file connected to it.
  3. Use the sort buttons in the collection list view.
  4. Eventually the file will appear in both rows.

Which area(s) are affected? (Select all that apply)

area: ui

Environment Info

node: 20.17.0
pnpm: 9.7.1
next: 15.0.0
payload: 3.0.0-beta.124
@payloadcms/payload-db-postgres: 3.0.0-beta.124

@rilrom rilrom added status: needs-triage Possible bug which hasn't been reproduced yet v3 validate-reproduction labels Nov 5, 2024
@paulpopus paulpopus self-assigned this Nov 6, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Nov 6, 2024
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

3 participants