Open Sytten opened 2 days ago
@Weiko, can you take a look? We couldn't reproduce the bug with @charlesBochet. However, during testing, we encountered a related issue. When trying to export a list of 1,200 people sorted by name, only the first page was exported.
If you need to test in prod using my account just let me know, it's easy to reproduce. It doesn't seem like it is just the first page since I see names going to T. Might be a bug with missing last name? Since it sorts as first name and last name?
Can you reproduce it on demo.twenty.com? Auth: noah@demo.dev
and Applecar2025
Tried again but couldn't reproduce the issue, even with a missing last name 🤔
Bug Description
If you sort by name there is a bug where not all the contacts are shown. If you see the screenshot, I sorted by name and selected all the rows manually. It shows that there are 123 rows selected out of my 515 contacts.
Expected behavior
All rows should be shown when sorting.
Technical inputs
The cursor pagination of the table seems ok on the frontend side as far as I can tell. The paging is done in batches of 59 contacts (that is weird). But cursor pagination is very tricky to implement server side especially when doing it on multiple field. I have done an implementation of if myself in rust (not oss) and went through all the possible problems you might have. Here is a snippet of how I went about it: