#194 open
Travis

Feature: total_entries limit

Reported by Travis | February 20th, 2008 @ 07:11 PM | in will_paginate v3.0 ("agnostic")

In doing pagination, sometimes there are 30k pages because of the amount of entries we have. What I would like to do is to be able to specify an entry limit without having to do counts myself.

I am willing to develop this patch if we can come to an agreement on where this should take place. My initial thought is to mimick the per_page paramters. That is allow either @@total_entries_limit or a class method 'total_entries_limit' or as an option passed to paginate, :total_entries_limit.

Any thoughts?

-Trav

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

Pages