You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for reporting!
You can get the archived elements via ->archived(), but you’re also right; if you do it via ->status(), there’s a clash. I just raised a PR to adjust this.
What happened?
Running something like:
returns
null
, and looking at the output of theQueryBuilder::build(...)
(from avar_dump
atvendor/yiisoft/yii2/db/Query.php:158
):SQL:
Parameters:
it looks like the subquery attempts to select for both
archived
true and false.Craft CMS version
3.8.9
PHP version
7.4.33
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: