#242 ✓invalid

Problem with :inner_window and :outer_window

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

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.

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 ยป

Everyone's favorite Ruby library for pagination of practically anything!

People watching this ticket