I'm trying to use pagination and sort the columns on each page. It doesn't sort just the 10 records retrieved, but the entire table. When I change the page it loses the sort order and goes back to the default.
public function index()
{
if(Auth::check())
{
$sortby = Input::get('sortby');
$order = Input::get('order');
@davidlm75
Don't you want it to sort the whole table?
If I am on the first page, and sort by name, it should have A on that first page and Z should be on the very last page of results... that is typically how sorting would work....
I appreciate the help but none of this has worked for me. I've read the documentation, scoured the internet for a solution with no luck. The documentation seems to be vague in many areas and I learn from trial and error. I will continue to look for a solution.