-
Notifications
You must be signed in to change notification settings - Fork 9
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
Export CSV doesn't show full list; pagination is not happening #97
Comments
I have the same problem. I have tried with different browsers, on another PC, every CSV file is missing the whole 2023 year. |
As per Taskforce request, adding some comments based on what I think the issue is:
|
@adamunchained I checked and found the member profile does support pagination, eg. in my case there are 4 pages with transactions records: Then I checked the code and found that the exportTransactions( ) method invoked by the "Export CSV" button click ultimately calls transactionDataset.getTopTransactionsLive() method only providing the member id parameter (any other parameter set as undefined). You can find it in the file: Now, I can't find the documentation or source code for this method: getTopTransactionsLive() Is there a chance that the method mentioned is not returning all the data from the build5 API? |
I’m sorry maybe I should have provided clearer explanation. What you see is client pagination. UI framework paginates over an array it gets. This is a legacy issue where initially when it was implemented it was just getting “all transactions” from server. This is super inefficient and can create security issues especially for users with lot of transactions as they would be able to overload our API’s. With B5 API’s we have set a limit that max result per any query is 100 records. Industry standard really. If there is more, clients need to paginate on the server side. Soonaverse App needs to implement server paginations to fix this. |
Describe the bug
hey Soon Team,
I have a problem with the 'Export CSV'.
I try to make a download and now i see that the export did not show the whole history (seems like realy old Transactions are deleted after a time and not shown in the export).
-> then i had a look on my old exports to merge them to get a full history. But now its super weird...
This is just one example from a user, there are other users also affected
Expected behavior
Full list of all tx since existence of the account
Desktop (please complete the following information):
Multiple
Smartphone (please complete the following information):
Multiple
The text was updated successfully, but these errors were encountered: