Is it possible to run action in Laravel Nova with collection sorted as is in Laravel Nova's interface listing? For example I sort items by variable symbol ascending but action is processed with collection ordered by id descending) even if in POST request the data are in correct order.
@riki I don't know Nova, but can't you handle this in the controller ? When you click on a column name, you send a request with the column name and the order (asc or desc).
But I think it should be possible only if Nova is passing this(column name + asc/desc) information to Action. You can check ajax request passed to Action.
If yes, you can set hidden fields and on action submission you can process accordingly.