forked from potsda.mn/mobilizon
Merge branch 'henrif/1096-add-desc-to-add-rep' into 'main'
Add description field to address representation Closes #1096 See merge request framasoft/mobilizon!1234
This commit is contained in:
commit
4fc5554142
|
@ -91,7 +91,7 @@ defmodule Mobilizon.Addresses.Address do
|
||||||
|
|
||||||
def representation(%__MODULE__{} = address) do
|
def representation(%__MODULE__{} = address) do
|
||||||
String.trim(
|
String.trim(
|
||||||
"#{address.street} #{address.postal_code} #{address.locality} #{address.region} #{address.country}"
|
"#{address.description} #{address.street} #{address.postal_code} #{address.locality} #{address.region} #{address.country}"
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue