paginate
paginate copied to clipboard
expose total item count + paginationUrl helper
I have a need to get the total item count for display while paging. I've exposed it as itemCount
.
Additionally, I created a paginationUrl
helper that is passed to the views to allow constructing URLs properly when baseUrl
already contains a query string.
@tonymilne any interest in merging this? If not, I'll publish a new module to npm.
+1 for this. I was just looking to see if I could get hold of the total count...