|
|
@@ -1,6 +1,6 @@
|
|
|
CREATE OR REPLACE VIEW view_federation_structures
|
|
|
AS
|
|
|
- SELECT o.id, o.name, o.logo_id as logoId, o.description, o.image_id as imageId, o.principalType as type, p.otherWebsite as website,
|
|
|
+ SELECT o.id, o.name, o.logo_id as logoId, o.description, o.image_id as imageId, o.principalType as type, p.website as website,
|
|
|
CONCAT('[', GROUP_CONCAT(COLUMN_JSON(COLUMN_CREATE(
|
|
|
'type', oa.type, 'latitude', a.latitude, 'longitude', a.longitude,
|
|
|
'streetAddress', TRIM(BOTH '\n' FROM CONCAT_WS('\n', a.streetAddress, a.streetAddressSecond, a.streetAddressThird)),
|