Skip to content

Conversation

@JafarAkhondali
Copy link
Contributor

The PR: #558 updated mongodb version from 2.2.24 to 3.5.5. There are some breaking changes in mongodb 3.x.x version like find which removed the projection field as separate parameters and expectes it in options.
Since projection was the second field and query_options was the third one, all features like sorting and pagination were corrupted by the update. This PR will fix this issue.

@dozoisch
Copy link
Collaborator

dozoisch commented Oct 5, 2020

Thanks!

@dozoisch dozoisch merged commit 1fe5d83 into mongo-express:master Oct 5, 2020
Mamoona-Ghania pushed a commit to FaizaAslam013/Devops-Mids-Exam that referenced this pull request Dec 13, 2025
Fix query options bug from Mongodb breaking change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants