How to set a Default Group With Descending Order By Default
In my table Im grouping. But i want the default order to be Desc instead of Asc. Is there a way to achieve it?
4 Replies
i tried
->defaultGroup('game_reservation_id', 'desc')
, but doesnt do anything (not sure what to try)
bumpWhat if you set it in defaultSort()
Ahh I see, it doesnt' exist but actually it would make sense to add it
I am sure a PR would be welcomed.
oh okay so im trying to do something that doesnt exist :v
np
Yep!