Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Well, I can still understand double sorting. But what are you trying to achieve with the second limit, what result do you expect? Are you really trying to sort the same field first in descending order and then in ascending order? What result do you expect in this case?
In general, multiple sorting is indicated in this way - under the hood, Eloquent collects all sorts into an array and applies them one by one. The problem you have is that the request is somehow meaningless.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question