Disable sort during search
Disable sort during search
CrazyRaccoon
Posts: 1Questions: 1Answers: 0
Is it possible to disable all column sorting when performing a search? I would like to let the search scoring mechanism to dictate the order in that case.
This discussion has been closed.
Answers
Hi CrazyRaccoon,
I don't think that's possible, but there may be a workaround.
You could listen for the
search
event kicking off, and then inside that callback, you could reset the ordering with the order.neutral() plugin. That sounds like what you're looking for.Hope that helps,
Cheers,
Colin