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
chapril
Thomas Citharel 7 months ago
commit 4fc5554142
  1. 2
      lib/mobilizon/addresses/address.ex

@ -91,7 +91,7 @@ defmodule Mobilizon.Addresses.Address do
def representation(%__MODULE__{} = address) do
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

Loading…
Cancel
Save