Just a quicky regarding pagination. I have a paginated results list with a limit of 20 results in a page.
I'm wondering how I owuld go about making a pagination that shows the number of results on the next page.
i.e. If I have 105 results, the pagination link says 'next 20 results', up to the fifth page, which would then say 'next 5 results'.
Not sure if there is an easier way to do it other than a load of maths to work it out.