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

Search filter in admin panel doesn't reset page number #7188

Closed
jcarloslopez opened this issue Jul 17, 2024 · 2 comments · Fixed by #7243
Closed

Search filter in admin panel doesn't reset page number #7188

jcarloslopez opened this issue Jul 17, 2024 · 2 comments · Fixed by #7243
Assignees
Labels

Comments

@jcarloslopez
Copy link

Link to reproduction

No response

Payload Version

3.0.0-beta.65

Node Version

20.11

Next.js Version

15.0.0-canary.53

Describe the Bug

I have a collection with a relationship field linked to another collection. In the admin panel, I try to add a filter for that field, but the select element that performs the search doesn't reset the page parameter in the request every time I change something in the field, causing it to miss the results.

payloadvideo.mp4

Reproduction Steps

Create one collection with a relationship to another collection
On the admin panel try to filter for that relationship field

Adapters and Plugins

No response

@jcarloslopez jcarloslopez added status: needs-triage Possible bug which hasn't been reproduced yet v3 labels Jul 17, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Jul 19, 2024
@JessChowdhury JessChowdhury linked a pull request Jul 19, 2024 that will close this issue
3 tasks
JarrodMFlesch added a commit that referenced this issue Jul 29, 2024
Closes #7188

In the collection list view, after adding a filter, the page number
should be reset since the doc count will have changed.

---------

Co-authored-by: Jarrod Flesch <[email protected]>
@JarrodMFlesch
Copy link
Contributor

Fixed with #7243

Copy link

github-actions bot commented Sep 6, 2024

This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants