Skip to content
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

fix: non-facet aggregations use correct countQuery to get total numbe… #62

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

MattLicense
Copy link
Contributor

…r of documents.

Fixes issues where useFacet cannot be true (e.g. use of $search in a pipeline) returning only a single page of results as seen #60

…r of documents.

Fixes issues where `useFacet` cannot be true (e.g. use of `$search` in a pipeline) returning only a single page of results as seen aravindnc#60
@MattLicense
Copy link
Contributor Author

Seeing after pushing that my linter is apparently a little more aggressive on styling so let me know if you want me to tidy that up @aravindnc

@aravindnc
Copy link
Owner

@MattLicense No worries.
But can you take a look why the build fails.

@MattLicense
Copy link
Contributor Author

That should be it sorted now @aravindnc - sorry about that, forgot that countPipeline was coming as an array, not an actual query.

@aravindnc
Copy link
Owner

@MattLicense Seems the test case is failing again.

@aravindnc aravindnc merged commit d4ecf92 into aravindnc:master Jul 23, 2024
1 of 2 checks passed
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