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

Created By filter in collection doesn't load all users #20308

Open
Shekhar-Zealous opened this issue May 14, 2024 · 0 comments
Open

Created By filter in collection doesn't load all users #20308

Shekhar-Zealous opened this issue May 14, 2024 · 0 comments
Assignees
Labels
issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:content-manager Source is core/content-manager package status: pending reproduction Waiting for free time to reproduce the issue, or more information

Comments

@Shekhar-Zealous
Copy link

Shekhar-Zealous commented May 14, 2024

Bug report

Created By filter in collection doesn't load all users.

Required System information

  • Node.js version: 18.19.0
  • NPM version: 10.2.3
  • Strapi version: 4.24.2
  • Database: MySQL
  • Operating system: Win10
  • Is your project Javascript or Typescript: Javascript

Describe the bug

In the collection listing page, while selecting Created By filter, it only loads 10 users in the dropdown lists. After upgrading Strapi version to latest still this issue persists.
I can see in the Network response, only 10 users are fetched at a time as per the pagination rule which is not required here.

Steps to reproduce the behavior

  1. Go to any of the Collection
  2. Click on Filter option
  3. Click on the Created By filter
  4. Open the dropdown and scroll down below you will only see limited users

Expected behavior

The Created By filter must load all users in the dropdown lists.

Screenshots

created_by_filter
created_by_filter_network_payload

Additional context (Suggestion)

Remove the pagination rule for fetching the Created By users and fetch all at once Or else add lazy loading in the dropdown when scroll to the bottom it loads more users.

Hoping for a great feedback. Thanks in advance Strapi team :)

@joshuaellis joshuaellis added issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:content-manager Source is core/content-manager package status: pending reproduction Waiting for free time to reproduce the issue, or more information labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:content-manager Source is core/content-manager package status: pending reproduction Waiting for free time to reproduce the issue, or more information
Projects
Status: To be reviewed
Status: To review
Development

No branches or pull requests

3 participants