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
Adding a sort option to a query includes deleted documents in the indexeddb adapter #8438
Comments
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
I'm sorry. I can't keep up with all the stalebot notifications. For anyone coming across this issue, it's still present despite the issue being closed (I can't re-open it). |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Not fixed yet, I don't think. |
Is the bot broken? I commented on the issue and it closed the issue anyway. |
I could recreate the bug! I just don't have a solution, yet. |
Found it! |
Issue
When sending a query to PouchDB using this adapter, deleted documents show up in the results if any sort option is added to the query. E.g, using the following query:
If I remove the
sort
property, deleted documents will not be included in the results. With thesort
present, deleted documents appear. This is a change in behavior from pouchdb-adapter-idb. For the time being, I need to add my own selector to exclude deleted documents any time I want to sort values.Info
The text was updated successfully, but these errors were encountered: