[PATCH] Update pagination_links_each in Classic Pagination to be consistent with Rails Pagination
Reported by Cody Fauser | 2007-06-11 09:12:11 UTC
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 2007-06-11 09:12:11 UTC
- State changed from new to resolved
(from [256]) Fix classic pagination to work smoothly with the stable branch. [#32 state:resolved]
-

ciamba 2010-06-12 22:57:27 UTC
- 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 ยป