Pagination for the resent blog posts

Nov 16, 2010 at 5:00 PM

Is this feature enabled in current version? If yes what the page size and how it can be configured? If no - from were I have to start?

Coordinator
Nov 16, 2010 at 8:29 PM

The default page size is 10 and you are right that we should have a setting for that. I filed this bug: http://orchard.codeplex.com/workitem/16797

This could be implemented as an action filter that would change the Pager object before it gets bound to the parameters of the List action of the blog controller.

Nov 25, 2010 at 2:52 PM

I saw one more problem with pagination. E.g. you have a blog named "blog1". When you go to the second page you'll see the url as "blog1/Page/2" and when you try to open blog post the url will be changed to "blog1/Page/2/blog1/blog-post-slug" which gives an exception - must be "blog1/blog-post-slug".

Coordinator
Nov 25, 2010 at 5:53 PM

Thanks for the report. Can you please file a bug in the issue tracker?

Nov 26, 2010 at 7:49 AM

Yes, this is the link: http://orchard.codeplex.com/workitem/16877