Closed ale42 closed 6 years ago
By the way, if you update your PR description to say "fixes #234", that issue will automatically close when this is merged :+1:
(Although now I've put that phrase in a comment, that might have the same effect anyway!)
Hey @sampart , thanks for your review. I updated my code as you recommended :wink:
PR updated @sampart :wink:
Congratulations on getting your first PR merged, @ale42. And thank you for improving Pagerfanta!
Add method to identify which page the Nth item is on.
Fixes #234.
Usage :
This should return
4
if there are10
items per page and more than35
items.