[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
-
Chris Wanstrath June 11th, 2007 @ 09:12 AM
- State changed from new to resolved
(from [256]) Fix classic pagination to work smoothly with the stable branch. [#32 state:resolved]
-
ciamba June 12th, 2010 @ 10:57 PM
- Assigned user cleared.
Well, sometimes it looks so easy it makes me angry. I hope will get it faster as well promoteri.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป