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

Filter relationship collections does not show all collections #10496

Open
GermanJablo opened this issue Jan 10, 2025 · 0 comments · May be fixed by #10506
Open

Filter relationship collections does not show all collections #10496

GermanJablo opened this issue Jan 10, 2025 · 0 comments · May be fixed by #10506

Comments

@GermanJablo
Copy link
Contributor

Describe the Bug

The changes I made to _community to get the repro can be seen here:
main...filter-pagination-bug

Not all users are shown in the select, which should be users 1 to 1500.

Also, requests seem to increment the pagination parameter by +1 every time an option is chosen that was pre-selected with the keyboard.

Screen.Recording.2025-01-10.at.11.30.37.AM.mov

Link to the code that reproduces this issue

https://github.com/payloadcms/payload

Reproduction Steps

  1. checkout filter-pagination-bug branch
  2. Go to the media collection `admin/collections/media
  3. Try making an equals to filter on the users or tags collection
  4. Open the network tab in devtools
  5. In the select field, type something and select an option
  6. You will see in devtools that the pagination increments by +1 each time. Also, you will see that some documents are not visible in the select.

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

area: ui

Environment Info

Binaries:
  Node: 22.11.0
  npm: 10.9.0
  Yarn: N/A
  pnpm: 9.12.3
Relevant Packages:
  payload: 3.15.1
  next: 15.1.3
  @payloadcms/db-postgres: 3.15.1
  @payloadcms/live-preview-react: 3.15.1
  react: 19.0.0
  react-dom: 19.0.0
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:54 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T6030
  Available memory (MB): 18432
  Available CPU cores: 12
@GermanJablo GermanJablo added status: needs-triage Possible bug which hasn't been reproduced yet validate-reproduction labels Jan 10, 2025
@GermanJablo GermanJablo self-assigned this Jan 10, 2025
@github-actions github-actions bot added created-by: Payload team and removed validate-reproduction status: needs-triage Possible bug which hasn't been reproduced yet labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant