Hello,
I have my own functions in the controller and i want to use will
paginate.
when i use will paginate then i face the following problems,
1.I cannot sort the commplete results after search...i can only sort the
results that are there on a particular page but not the whole set of
results.
2. Since i am using my own defined functions in the controller clicking
on the
next page in will_paginate takes me to a controller action (i think
index or show) which in my application has nothing to do with
searching..so i get an error.
What do i need to do
Thank you.
Quoting Ank Ag <rails-mailing-list@andreas-s.net>:
Hello,
I have my own functions in the controller and i want to use will
paginate.
when i use will paginate then i face the following problems,
1.I cannot sort the commplete results after search...i can only sort the
results that are there on a particular page but not the whole set of
results.