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

query assets with hasAlt #14642

Merged
merged 3 commits into from
Mar 22, 2024
Merged

query assets with hasAlt #14642

merged 3 commits into from
Mar 22, 2024

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Mar 21, 2024

Description

Fixed a type-o in $hasAltCondition (assets_site.alt => assets_sites.alt).
Moved hasAlt processing to afterPrepare where the subQuery is already joined with the elements_sites table. It’s not joined yet in beforePrepare, and adding it the second time seemed redundant, but please LMK if that’s the wrong way to go.

Related issues

#14640

@i-just i-just requested a review from brandonkelly March 21, 2024 14:54
@brandonkelly brandonkelly merged commit 972a572 into 5.0 Mar 22, 2024
@brandonkelly brandonkelly deleted the bugfix/14640-hasAlt-adjustment branch March 22, 2024 04:58
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