diff --git a/CHANGELOG.md b/CHANGELOG.md index f491118..a91e49f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# Version 17.2.0 + +## Features + +* Include `entity_id` in category entity varchar SQL query + # Version 17.0.0 ### PHP 8.1 Compatibility diff --git a/src/Repositories/SqlStatementRepository.php b/src/Repositories/SqlStatementRepository.php index 1b1f666..c7ab5f2 100644 --- a/src/Repositories/SqlStatementRepository.php +++ b/src/Repositories/SqlStatementRepository.php @@ -129,7 +129,7 @@ class SqlStatementRepository extends \TechDivision\Import\Repositories\SqlStatem AND is_anchor_default.store_id = 0 AND is_anchor_default.row_id = t0.row_id', SqlStatementKeys::CATEGORY_VARCHARS_BY_ENTITY_IDS => - 'SELECT t1.* + 'SELECT t1.*, t0.entity_id FROM ${table:catalog_category_entity} AS t0 INNER JOIN ${table:catalog_category_entity_varchar} AS t1 ON t1.row_id = t0.row_id