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

Reduced complexity of some queries #460

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

peteeckel
Copy link
Owner

@peteeckel peteeckel commented Oct 23, 2024

Cleaned up some queries by removing redundant .all() terms and replaced some queries with variants based on related sets.

This also should have the advantage of playing more smoothly with the branching plugin (just a guess, but I assume that a global query needs some attention to use the current branch while the related object set is assumed to be branch aware.

Even if that's not correct it's less code :-)

@peteeckel peteeckel merged commit 2d0ef86 into main Oct 23, 2024
10 checks passed
@peteeckel peteeckel deleted the housekeeping/code-cleanup branch October 23, 2024 21:14
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.

1 participant