Kenneth Sese
Kenneth Sese
Hi Dan, I refactored this to a single `defaultSort` property as requested. I tested with each possible way this could be configured and everything worked as expected (string, closure, builder)....
> It is only useful when using a string column, not a query function. If you pass a column name, it does apply. hmmm...but when passing a column name, the...
> Just tested and the second param does still seem to work when passing a column name like `->defaultSort('name', 'desc')` :) Yes, that all works fine. I'm referring to something...
For those wondering why problem 3 sometimes throws an error and other times shows incorrect information, route model binding will attempt to match the first numerical part of the string...