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: Column selection is not persisted when sorting multiple times #10018

Open
toggm opened this issue Dec 17, 2024 · 0 comments
Open

List view: Column selection is not persisted when sorting multiple times #10018

toggm opened this issue Dec 17, 2024 · 0 comments
Assignees
Labels
status: verified If an issue has been reproduced

Comments

@toggm
Copy link

toggm commented Dec 17, 2024

Describe the Bug

Description

Related to: #9492

When adding additional columns to a view and sorting multiple times (i.e. sort same columns twice), the selected columns are reset.

Link to the code that reproduces this issue

https://github.com/toggm/payloadcms-column-filtering-sorting-bug-demo

Reproduction Steps

  • Create mutiple entries in the Persons collection
  • Add columns as shown in the video
  • Sort by a column twice
    Image

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

area: ui

Environment Info

yarn run v1.22.22
$ cross-env NODE_OPTIONS=--no-deprecation payload info

Binaries:
  Node: 20.9.0
  npm: 10.1.0
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  payload: 3.8.0
  next: 15.1.0
  @payloadcms/db-postgres: 3.8.0
  @payloadcms/email-nodemailer: 3.8.0
  @payloadcms/graphql: 3.8.0
  @payloadcms/next/utilities: 3.8.0
  @payloadcms/payload-cloud: 3.8.0
  @payloadcms/richtext-lexical: 3.8.0
  @payloadcms/translations: 3.8.0
  @payloadcms/ui/shared: 3.8.0
  react: 19.0.0
  react-dom: 19.0.0
Operating System:
  Platform: linux
  Arch: x64
  Version: #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024
  Available memory (MB): 63909
  Available CPU cores: 16

Done in 1.19s.
@toggm toggm added status: needs-triage Possible bug which hasn't been reproduced yet validate-reproduction labels Dec 17, 2024
@jacobsfletch jacobsfletch added validate-reproduction status: verified If an issue has been reproduced and removed status: needs-triage Possible bug which hasn't been reproduced yet validate-reproduction labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: verified If an issue has been reproduced
Projects
None yet
Development

No branches or pull requests

2 participants