Skip to content

Commit

Permalink
ENGCOM-920: [Backport 2.1] MAGETWO-59258: Override module-directory/e…
Browse files Browse the repository at this point in the history
…tc/zip_codes.xml only the last code of a country gets include #14117
  • Loading branch information
Stanislav Idolov authored Mar 16, 2018
2 parents 9ca859d + 7fc1fd5 commit 9d0201f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem
*
* @var array
*/
protected $_idAttributes = ['/config/zip' => 'countryCode'];
protected $_idAttributes = [
'/config/zip' => 'countryCode',
'/config/zip/codes/code' => 'id',
];

/**
* Construct the FileSystem Reader Class
Expand Down

0 comments on commit 9d0201f

Please sign in to comment.