HotInk / hotink

Web-publishing application for Canadian University Press
http://hotink.net
MIT License
18 stars 3 forks source link

Pagination not generating Next link #25

Closed willwnet closed 14 years ago

willwnet commented 14 years ago

On my category pages (ex: http://thefulcrum.ca/categories/news?page=9 ) the Next link is not being generated, while the Previous link is.

Here is the liquid code I am using:

{{ "Previous" | previous_page_link }}  {{ "Next" | next_page_link }}

As per http://github.com/HotInk/hotink/blob/master/app/filters/pagination_filters.rb

Thanks!

chrisdinn commented 14 years ago

Thanks, this was a great bug report. I think this issue has been fixed.

The category drop wasn't properly reporting article pagination info. Fix is here: http://github.com/HotInk/hotink/commit/ca7d67b7fab993b664c1d3b4f4485f558e303951

willwnet commented 14 years ago

Thanks Chris!