Support the ongoing development of Laravel.io →

jirehstudios

Joined 8 Jun 2015

Statistics

Threads 1
Replies 1
Solutions 1
Articles 0

Weird behavior - Sorting collection

I'm trying to sort a collection by the column "name". I am logging the ajax result and whe...

0 Likes
1 Replies
Solved
replied 9 years ago

Weird behavior - Sorting collection

This fixed it: public function getLocations() { return \Location::all(['locationId', 'name'])-&g...

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.