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
After updating from 2.0.13 to 2.0.14 i have noticed some strange behavior of Query::select().
If you reassign select fields, duplicates will be removed like in example below:
After updating from 2.0.13 to 2.0.14 i have noticed some strange behavior of
Query::select()
.If you reassign select fields, duplicates will be removed like in example below:
What steps will reproduce the problem?
What is the expected result?
What do you get instead?
Additional info
Notice: if define
id
insideselect
with alias in first or second definition (i.e['id_alias' => 'id']
), it will be ok andid
will be selected.It seems that such behavior occurs because of
Query::getUniqueColumns()
, added in 2.0.14.Maybe related with: #15674
The text was updated successfully, but these errors were encountered: