#274 new
atul

Unable to combine sort order with searching in will_paginate

Reported by atul | May 6th, 2011 @ 10:12 AM

sorting is not working with pagination but searchnig works well

@accounts1 = Account.search(params[:search]) @accounts = @accounts1.paginate(:order =>(sort_column + " " + sort_direction),:per_page => 5, :page => params[:accounts_page])

No comments found

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