-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
findSurround ignore where #2300
Comments
I noticed this issue as well and made a reproduction: https://stackblitz.com/~/github.com/vernaillen/nuxt-content-findSurround. |
It seems there's already a fix on its way for the next release: #2291 |
Have you checked, if it is really fixed with the edge channel? |
I just checked it now, in both my own project as the reproduction. It is indeed fixed. |
Yes, I confirm it works with the edge channel |
Fixed in v2.8.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Reproduction
<script setup> const { path } = useRoute(); const [prev, next] = await queryContent() .only(["_path", "title"]) .sort({ date: 1 }) .where({ title: { $eq: "notexist" } }) .findSurround(path); </script>Describe the bug
Should return null, same result with other where conditions.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: