Skip to content
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

dirPagination 3.10.9: Setting a value to total-items to make the data load synchronous #443

Open
DiogoDaSilva opened this issue Mar 7, 2017 · 0 comments

Comments

@DiogoDaSilva
Copy link

Description of issue:
Hello, in advance thanks for your great work.
I'm suggesting an enhancement that, imho, would benefit your project.

Would it be possible that 'total-items' attribute could have a default value like -1 that would make the pagination synchronous?

I'm saying this because I have two arrays of objects, one synchronous and the other asynchronous in the same dir-paginate and since the total-items assumes that the current pagination will be "async" it does not update the pagination-controls when I change to the "sync" array.

Best regards,

Diogo da Silva

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

No branches or pull requests

1 participant