Skip to content

Commit 4b2a401

Browse files
ENGCOM-5240: #22934 Improved sitemap product generation logic #23129
- Merge Pull Request #23129 from sergiy-v/magento2:22934-sitemap-product-generation-improvements - Merged commits: 1. e7c2e1f 2. 17a2cac
2 parents 39b0a88 + 17a2cac commit 4b2a401

File tree

1 file changed

+5
-3
lines changed
  • app/code/Magento/Sitemap/Model/ResourceModel/Catalog

1 file changed

+5
-3
lines changed

app/code/Magento/Sitemap/Model/ResourceModel/Catalog/Product.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,11 @@ protected function _joinAttribute($storeId, $attributeCode, $column = null)
257257

258258
// Add attribute value to result set if needed
259259
if (isset($column)) {
260-
$this->_select->columns([
261-
$column => $columnValue
262-
]);
260+
$this->_select->columns(
261+
[
262+
$column => $columnValue
263+
]
264+
);
263265
}
264266
}
265267

0 commit comments

Comments
 (0)