Hi All. I can't get the paginator to work with a calculated SQL field see below for example // this...
I have a complex product setup on a shop, so the users basket includes a lot of info cached from the...
I have no idea why this would happen but you can dump the querylog and check it out $queries = DB::g...
When I needed to do something similar in the past I just stuck in an extra field for sorting. When a...
it looks like country_id is not set you can use a default value $country = Country::findOrFail(Inp...
The count is needed for the paginate. If you just did take(10)->get() then it would only do what...
just a quick point from your sample code it looks like you are not using the getDashboard method of...
The Laravel portal for problem solving, knowledge sharing and community building.
The community