You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've toyed around for a while, but this isn't a problem in aiocouch. It's a bit hidden, but the CouchDB documentation states that you need to have an index on the fields you're trying to sort (and in that particular order). 95eca75 adds support to create indexes and a test case for find with sorting. It seems to work that way.
Thanks for the quick response and work. I've verified that creating an index on the sort column does fix the issue. I can submit a PR to add a note to the docs for this if you like?
When I specify a sort with any values defined I get the following error:
I'm calling this with as:
If I set
sort=[]
I do not get an error but I also get no sorting.The text was updated successfully, but these errors were encountered: