+1
I'm having the same problem.
This works:
User::rememberForever()->paginate(Input::get('per_page', 20));
This doesn't:
User::rememberForever('key')->paginate(Input::get('per_page', 20));
The data I'm getting back from this query is "[{"aggregate":"2"}]".
Where 2 is the number of User in my database.
Laravel 4.1.30.
+1 Seems to be an issue in the paginator with using Cache keys instead. Which is an interesting problem.
I would quite like to know if anyone has found a solution for this, as a web app I'm implementing that makes use of pagination needs to be able to clear the Pagination cache for a number of models
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community