paginate_by_sql should be able to do its own counting
Reported by James Coglan | August 14th, 2007 @ 07:47 PM
This patch makes the total_entries option to paginate_by_sql optional by calculating the number of entries from the supplied SQL. This works in MySQL but not sure about other databases.
Comments and changes to this ticket
-
Chris Wanstrath August 14th, 2007 @ 07:47 PM
- State changed from new to open
- Assigned user changed from Chris Wanstrath to Mislav
-
Chris Wanstrath August 18th, 2007 @ 05:11 AM
- State changed from open to resolved
(from [327]) will_paginate: paginate_by_sql can do its own counting [James Coglan] [#78 state:resolved]
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!