File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -73,3 +73,7 @@ MNB-1966 Fix for Quebec not populating and added CSP whitelist
73
73
MNB-574 Add support for placing house number after street name
74
74
75
75
76
+ ## 20.6.1 (2022-05-24)
77
+ MNB-2364 Resolve issue with Montreal not being populated as city
78
+
79
+
Original file line number Diff line number Diff line change @@ -73,3 +73,7 @@ MNB-1966 Fix for Quebec not populating and added CSP whitelist
73
73
MNB-574 Add support for placing house number after street name
74
74
75
75
76
+ ## 20.6.1 (2022-05-24)
77
+ MNB-2364 Resolve issue with Montreal not being populated as city
78
+
79
+
Original file line number Diff line number Diff line change 2
2
"name" : " shipperhq/module-address-autocomplete" ,
3
3
"description" : " ShipperHQ Address Autocomplete Tool" ,
4
4
"type" : " magento2-module" ,
5
- "version" : " 20.6.0 " ,
5
+ "version" : " 20.6.1 " ,
6
6
"license" : [
7
7
" OSL-3.0" ,
8
8
" AFL-3.0"
Original file line number Diff line number Diff line change @@ -133,8 +133,9 @@ define(
133
133
city = value ;
134
134
} else if ( addressType === 'postal_town' ) {
135
135
city = value ;
136
- } else if ( addressType === 'locality' && city === '' ) {
136
+ } else if ( addressType === 'locality' && ( city === '' || value === 'Montréal' ) ) {
137
137
// Ignore if we are using one of other city values already.
138
+ // MNB-2364 Google returns sublocality_level_1 for Montreal. Always want to use Montreal
138
139
city = value ;
139
140
} else if ( addressType === 'postal_code' ) {
140
141
postcode = value ;
You can’t perform that action at this time.
0 commit comments