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

Duplication of products on different pages #298

Open
Lightness322 opened this issue May 12, 2024 · 0 comments
Open

Duplication of products on different pages #298

Lightness322 opened this issue May 12, 2024 · 0 comments

Comments

@Lightness322
Copy link

Lightness322 commented May 12, 2024

Describe the bug
Duplication of products on different pages when requesting from the backend

To Reproduce
Steps to reproduce the behavior:

  1. Request: https://iced-latte.uk/backend/api/v1/products?page=0&size=6&sort_attribute=averageRating&sort_direction=desc
  2. Request: https://iced-latte.uk/backend/api/v1/products?page=1&size=6&sort_attribute=averageRating&sort_direction=desc
    GET-request
    Only page changed! Other parameters are the same!

Expected behavior
We get different products

Screenshots
image
image

Actual behavior
Product with id="e70f1d94-d55f-4e0e-8a6b-28e2ca3c6c34" repeated on two pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant