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: PostObjectCursor's support for meta fields improved #2874
fix: PostObjectCursor's support for meta fields improved #2874
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code change itself looks good to me (although I'm worried about a perf hit on non-custom meta). Wondering if maybe this deserves it's own test class instead of shoehorning into the existing post cursor test.
See comments for details.
Code Climate has analyzed commit 509c5e6 and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
There's still some issues re: meta queries and pagination that this doesn't fully solve, for example, if multiple posts have the same meta value and one is the This helps unblock a certain set of users and we can circle back on the remaining bugs later. |
Is there an existing issue for this? That's a complex edge case, wanna make sure we dont lose it. |
@justlevine There is, using certain meta query structure when ordering by a meta field don't get processed correctly by the |
Okay, my misunderstanding - the remaining edge cases that are unresolved are in #2644, not in addition to that GH issue. 👍 |
What does this implement/fix? Explain your changes.
Does this close any currently open issues?
Any relevant logs, error output, GraphiQL screenshots, etc?
(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)
Any other comments?
…
Where has this been tested?
Operating System: …
WordPress Version: …