Add description field to address representation

Fixes: #1096
chapril
Henri Febleux 7 months ago
parent 9be4ed84da
commit 5b4e6ed473
  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