#32 ✓resolved
Cody Fauser

[PATCH] Update pagination_links_each in Classic Pagination to be consistent with Rails Pagination

Reported by Cody Fauser | June 11th, 2007 @ 09:12 AM

The classic_pagination plugin changes the Rails pagination interface of pagination_links_each():

# original Rails interface
pagination_links_each(paginator, options)

# Classic Pagination plugin interface
pagination_links_each(paginator, options, prefix, suffix)

This causes problems when custom code has been written that depends on the original interface. The patch attached simply sets the prefix and suffix to default to nil:

pagination_links_each(paginator, options, prefix = nil, suffix = nil)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket