Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#32

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)

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

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Chris Wanstrath
    Chris Wanstrath
    • State changed from new to resolved

    (from [256]) Fix classic pagination to work smoothly with the stable branch. [#32 state:resolved]

    http://require.errtheblog.com/pl...

    June 11th, 2007 @ 09:12 AM

  2. ciamba
    ciamba
    • Assigned user cleared.

    Well, sometimes it looks so easy it makes me angry. I hope will get it faster as well promoteri.

    June 12th, 2010 @ 10:57 PM

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.