-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorting not returned with defaultSorting #290
Comments
Hi!
Not sure what you mean by this? There is no defined meta sorting object. I think your question is related to #225 - is that what you're looking for? |
Thank you for your quick reply! |
Ah I more meant that #225 was about being able to set meta from multiple places - including being able to pass meta out of the adapter (which at the moment is only allowed for pagination). I totally agree with you, the developer should be able to return meta from the adapter. I think this will be solved when I solve #225 in a future version. At the moment it's not possible so the safest thing for you to do is to always send a sort parameter from the client (Javascript) so that your Javascript always knows what the sort order is. |
When I don't specify sorting in the request, but have defaultSorting set in the Adapter, the response does not contain the meta.sorting object. Therefor my js table does not know the sorting...
Is there any way I can fix it or is it a bug?
The text was updated successfully, but these errors were encountered: