We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2995f4f commit a0bde61Copy full SHA for a0bde61
lib/internal/Magento/Framework/Model/ResourceModel/Db/Collection/AbstractCollection.php
@@ -230,12 +230,11 @@ protected function _initSelectFields()
230
$column = $field;
231
}
232
233
- if ($alias !== null && in_array(
234
- $alias,
235
- $columnsToSelect
236
- ) ||
+ if ($alias !== null &&
+ in_array($alias, $columnsToSelect) ||
237
// If field already joined from another table
238
- $alias === null && isset($alias, $columnsToSelect)
+ $alias === null &&
+ isset($alias, $columnsToSelect)
239
) {
240
continue;
241
0 commit comments