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

Project filter with luceneSearch false gives wrong pagination #2854

Open
GMishx opened this issue Jan 3, 2025 · 0 comments
Open

Project filter with luceneSearch false gives wrong pagination #2854

GMishx opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@GMishx
Copy link
Member

GMishx commented Jan 3, 2025

Description

While filtering for projects with /projects endpoint and various filter parameters, the endpoint returns wrong pagination data if luceneSearch is set to false. When luceneSearch is true, the pagination response is correct.

How to reproduce

  1. Filter projects from /projects?luceneSearch=false endpoint where response should contain more than 20 projects.
  2. Check the totalElements in the response which always say 20.
  3. Try to load second page which fails.
  4. Try the same filter again but with luceneSearch=true.
  5. totalElements is correct.
  6. Next page loads.

Versions

@GMishx GMishx added the bug Something isn't working label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant