payload icon indicating copy to clipboard operation
payload copied to clipboard

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

Open e1himself opened this issue 1 year ago • 0 comments

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

https://github.com/payloadcms/payload/assets/370680/a99f105f-2ada-4704-804a-717dc7ad350f

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

e1himself avatar Apr 01 '24 16:04 e1himself