Skip to content

Drawer to pick uploaded media does not reset pagination when search change #5582

Open
@e1himself

Description

@e1himself

Link to reproduction

No response

Describe the Bug

When search criteria changes, the drawer list view does not reset the page, rendering "Not found" results, when in reality there are results, just below the current page:

To Reproduce

CleanShot.2024-03-25.at.16.55.39.mov

Note: filtering by campaigns first displays "nothing found" view (because the current page was set to 2), and then after the page was set back to 1, the campaigns filtering works as expected.

Payload Version

2.11.2

Adapters and Plugins

db-postgres, bundler-webpack, plugin-redirects, plugin-seo, plugin-nested-docs, richtext-slate

Metadata

Metadata

Assignees

Labels

keepPrevents from being marked stale or auto-closed.stalestatus: verifiedIf an issue has been reproducedv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions