amattu2 / better-vinwiki

A reenvisioned and modernized VINwiki.com alternative web application built with React.js, TypeScript, and MUI.
https://better-vinwiki.pages.dev
GNU Affero General Public License v3.0
0 stars 0 forks source link

List view pagination duplicate vehicle #128

Open amattu2 opened 12 months ago

amattu2 commented 12 months ago

Description

When sorting the Vehicle List table by Year, if you have 21 vehicles (potentially 51 as well), the last vehicle in the list appears twice and the 21st vehicle never appears.

How to Reproduce

  1. Login to Better VINwiki
  2. Create or find a list with 21 vehicles (e.g. https://better-vinwiki.pages.dev/list/113d2b37-ba04-439e-9556-117e776abce6)
  3. Sort by Year
  4. Scroll down and paginate to page 2
  5. The vehicle that appears there also appears on the first page

Related Code

N/A

Related Screenshots

N/A

amattu2 commented 12 months ago

This can be replicated only in a production build, the dev builds work as expected. TBD the cause.