mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +02:00
Story#109070142 - Compact contact addresses on import
This commit is contained in:
parent
1a2b6c9044
commit
d3b275f850
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ namespace :import do
|
|||
x.object_registry.try(:registrar).try(:name),
|
||||
x.object.try(:registrar).try(:name) ? x.object.try(:registrar).try(:name) : x.object_registry.try(:registrar).try(:name),
|
||||
x.id,
|
||||
[x.street1.try(:strip), x.street2.try(:strip), x.street3.try(:strip)].join("\n"),
|
||||
[x.street1.try(:strip), x.street2.try(:strip), x.street3.try(:strip)].compact.join(", "),
|
||||
x.city.try(:strip),
|
||||
x.postalcode.try(:strip),
|
||||
x.stateorprovince.try(:strip),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue