Skip to content

Commit

Permalink
Backport of MAGETWO-59258: Override module-directory/etc/zip_codes.xm…
Browse files Browse the repository at this point in the history
…l only the last code of a country gets include
  • Loading branch information
simpleadm committed Mar 15, 2018
1 parent e719669 commit 4ddb336
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 4ddb336

Please sign in to comment.