Window option for will_paginate Pager
Reported by MG | January 27th, 2008 @ 08:35 PM
really like the plugin/pager, just one little thing i did not found in the options
:window => 1 ---> 1 2 .. 3 4 5 .. 12 13
:window => 0 ---> 1 2 .. 4 .. 12 13
hope its no repost :)
keep up the good work!
mfg MG
Comments and changes to this ticket
-
Mislav January 28th, 2008 @ 11:20 AM
- State changed from new to invalid
That option is called :inner_window
<%= will_paginate @posts, :inner_window => 0 %>
-
Mislav January 28th, 2008 @ 11:21 AM
- Assigned user changed from Chris Wanstrath to Mislav
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 ยป
Everyone's favorite Ruby library for pagination of practically anything!