Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Transactions page didint show all the transactions instead of showing 10 transaction only. #49

Open
ChengChan opened this issue Jun 13, 2018 · 1 comment

Comments

@ChengChan
Copy link

Hi dgarcia,

May i know the reasons why the transaction page can show 10 transactions only? Does this need to be fix where we should show all the transactions as it stated in the function this.nem.getAllTransactionsFromAnAccount(this.selectedWallet.address).

I think we have another functions accountHttp.allTransactionsPaginated(address). Should we use this instead?

Thank you.

@dgarcia360
Copy link
Owner

Hi @ChengChan

Using allTransactions(), the node only returns 10 transactions by default.

NEM-Library now accepts pagination. It will be interesting to implement it.

https://github.com/aleixmorgadas/nem-library-examples/blob/master/howto/account/How_to_do_pagination_in_transactions_methods.ts

If you would like to contribute, I'll enjoy reviewing the pull-request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants