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

Expose total_pages in meta #2

Closed
jsteiner opened this issue Sep 14, 2017 · 2 comments · Fixed by #3
Closed

Expose total_pages in meta #2

jsteiner opened this issue Sep 14, 2017 · 2 comments · Fixed by #3

Comments

@jsteiner
Copy link

It might be handy to expose total_pages (i.e. something like: round(Float.ceil(total / page_total))) in meta.

This would be useful for rendering a "Last Page" link.

@nsweeting
Copy link
Owner

Thanks for your feedback @jsteiner! Implemented in v 0.1.2

@nsweeting
Copy link
Owner

and fixed in v 0.1.3.... its been a long day :)

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

Successfully merging a pull request may close this issue.

2 participants