From 5b4e6ed473c943114b529db9129bbe0e04628e77 Mon Sep 17 00:00:00 2001 From: Henri Febleux Date: Sat, 7 May 2022 18:28:32 +0200 Subject: [PATCH] Add description field to address representation Fixes: #1096 --- lib/mobilizon/addresses/address.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mobilizon/addresses/address.ex b/lib/mobilizon/addresses/address.ex index 66c7d4d3c..01c9efaa3 100644 --- a/lib/mobilizon/addresses/address.ex +++ b/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