extra org data added

This commit is contained in:
Finn 2017-11-23 16:35:45 +00:00
parent 54dcbf6fb8
commit 96a9b152d1

View file

@ -151,6 +151,9 @@ sub lis_load {
'organisation.name',
'organisation.latitude',
'organisation.longitude',
'organisation.street_name',
'organisation.town',
'organisation.postcode',
],
group_by => [ qw/ organisation.id / ],
},
@ -163,6 +166,9 @@ sub lis_load {
latitude => $_->{organisation}->{latitude} * 1,
longitude => $_->{organisation}->{longitude} * 1,
name => $_->{organisation}->{name},
street_name => $_->{organisation}->{street_name},
town => $_->{organisation}->{town},
postcode => $_->{organisation}->{postcode},
}
} $org_rs->all ];