Sort Transactions by date
V
Vittorio
I'm trying to implement an "infinite scroll" transactions page but items returned by "v1/transactions" are not sorted by date (probably by id) and the UX is bumpy.
Would be nice to add a sort parameter (if not to compute intensive).
PS: as a workaround I'm paginating the query by week and it's seems to work.
Log In
s
skubie
Currently, to support basic table sorting, client applications are forced to download a user's entire historical transaction dataset in a loop of large paginated requests (e.g., calling GET /transactions with limit=2000 multiple times).
D
David
Some discussion of this issue in discord here: https://discord.com/channels/842337014556262411/1134594318414389258/1307454099083628585
To summarize, it's not clear what is happening, it's not simply sorted by ID though. Unpaginated results are sorted as they are in the Web App. When you paginate, things get weird.