-
Notifications
You must be signed in to change notification settings - Fork 202
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
Removed double left join on posts_join_filter #419
Removed double left join on posts_join_filter #419
Conversation
In my test, which may not be comprehensive, I'm not seeing a change in the SQL query. My test query:
builds sql:
I might have missed something though, if you have a better test query let me know |
Looks like it was just me bumbling around juggling too many queries... I ran 3 sets of queries: (a) author + tax_query, (b) just author, and (c) just tax_query pre and post patch, a and c are identical 👍 for b here's before
and after
Which is just a noisy way of saying it looks good! edit: before/after examples accidentally reversed 🤦♀️ |
@rebeccahum @trepmal Please see #508 with regard to the SQL changes |
Resolves #417 * Removed duplicate left join for optimization
As per #417, I have removed the double left join on posts_join_filter.