-
Notifications
You must be signed in to change notification settings - Fork 34
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 on nested fields not working #20
Comments
What is your environment?
Try to give a minimal example if possible. |
Hey, I'm on: graphene-sqlalchemy = "^2.3.0" Using Azure SQL (MSSQL) A functioning example will be hard to copy, but I will copy some snippets: The graphQL query is as follows:
I can filter on the guides level no problem, only the sort does not work. Please let me know if I can provide any additional detail. |
I do not use MSSQL. In Sqlite and Postgresql, sorting works. I think the problem is that sql ORDER BY is placed in a subquery. I fixed potential bug in new brunch. Can you test with MSSQL?
|
This looks great! I gave it a quick test and it seems to be working exactly as expected now! Thank you :) |
Hi,
I followed the instructions to set up the nested filters. They seem to work, but the sorting does not.
Are there additional steps required to get the sorting to work?
Thanks!
Jonathan
The text was updated successfully, but these errors were encountered: