Getting dupilcate data from table pagination

Hi, I am currently working on paginating a table with data from a database using prisma and trpc. But there is one record that keeps being displayed as the last element and I am not sure why it is happening. The record being shown is always at the bottom with the name Jan Bogan which can be seen in the screen shots
2 Replies
Ambushfall
Ambushfall3y ago
Have you tested what you get from applications? Is the result containing that same entry no matter the index provided? If it is returning the item it could indicate that the prisma query code is failing somewhere.
tropic
tropicOP3y ago
Just seeing this, But apparently me adding orderby in my prisma query just made it return the first element in the database ? im not sure why seems to be a bug i need to report it to the prisma team I just forgot to update this post
Want results from more Discord servers?
Add your server