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.

Problem with :inner_window and :outer_window

#242

I'm not sure if I get correctly ho to use those settings, but it seems to me that in version 2.3.2 they don't work as expected:

I do in the view: <%= will_paginate @articles, :inner_window => 2, :outer_window => 0 %>

Then I have 8 pages: I go to page 1 and I see: 1 2 3 4 5 ... 8 Next >

If I go to page 4, I see: < Previous 1 2 3 4 5 6 7 8 Next >

On page 7 I see: < Previous 1 ... 4 5 6 7 8 Next >

if :inner_windows represent the number of page links I see around the current page, it seems to work bad.

Reported by biscazziere · September 2nd, 2008 @ 03:13 AM

State: invalid
Milestone: none
Assigned to: Mislav Mislav

Activity

  1. Mislav
    Mislav
    • State changed from new to invalid
    • Tag set to will_paginate

    duplicate of #243

    October 7th, 2008 @ 09:05 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.