payloadcms / payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
https://payloadcms.com
MIT License
23.57k stars 1.5k forks source link

Browsing through pagination of filtered collections leads to infinite loop #5312

Open militsa-tsvetkova opened 6 months ago

militsa-tsvetkova commented 6 months ago

Link to reproduction

No response

Describe the Bug

Browsing through pagination of filtered collections leads to infinite loop

When changing how many records to be displayed per page, the app crashes and starts sending over and over the same request

Screenshot 2024-03-13 at 09 45 51

Recording

To Reproduce

  1. Add filter to a collection
  2. Change Pagination options from 100 to 5 per page
  3. Select second page
  4. Change back pagination to 100 per page

Payload Version

latest

Adapters and Plugins

No response

kasipavankumar commented 2 months ago

+1

Can confirm that this is an issue that even I am facing. I am running Payload version 2.14.2.

kasipavankumar commented 1 month ago

+1

Can confirm that this is an issue that even I am facing. I am running Payload version 2.14.2.

This seems to be fixed in v2.26.0