|
@@ -25,8 +25,8 @@ CREATE OR REPLACE VIEW view_public_events AS
|
|
|
r.localisation AS roomLocalisation,
|
|
r.localisation AS roomLocalisation,
|
|
|
r.capacity AS roomCapacity,
|
|
r.capacity AS roomCapacity,
|
|
|
r.floorSize AS roomFloorSize,
|
|
r.floorSize AS roomFloorSize,
|
|
|
- IF(b.image_id is not null, CONCAT('https://api.opentalent.fr/app.php/_internal/secure/files/', b.image_id, '/raw'), null) AS imageUrl,
|
|
|
|
|
- IF(b.image_id is not null, CONCAT('https://api.opentalent.fr/app.php/_internal/secure/files/', b.image_id, '/300x0'), null) AS thumbnailUrl,
|
|
|
|
|
|
|
+ IF(b.image_id is not null, CONCAT('https://api.opentalent.fr/api/public/files/', b.image_id, '/download/lg'), null) AS imageUrl,
|
|
|
|
|
+ IF(b.image_id is not null, CONCAT('https://api.opentalent.fr/api/public/files/', b.image_id, '/download/md'), null) AS thumbnailUrl,
|
|
|
(SELECT GROUP_CONCAT(DISTINCT CONCAT(f.code))
|
|
(SELECT GROUP_CONCAT(DISTINCT CONCAT(f.code))
|
|
|
FROM event_categories AS ec
|
|
FROM event_categories AS ec
|
|
|
LEFT JOIN Categories AS cs ON(cs.id = ec.categories_id)
|
|
LEFT JOIN Categories AS cs ON(cs.id = ec.categories_id)
|