浏览代码

Merge branch 'image-event-flou'

opentalent 1 年之前
父节点
当前提交
d5f1b3941a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sql/schema-extensions/001-view_public_events.sql

+ 1 - 1
sql/schema-extensions/001-view_public_events.sql

@@ -26,7 +26,7 @@ CREATE OR REPLACE VIEW view_public_events AS
         r.capacity AS roomCapacity,
         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, '/0x120'), null) AS thumbnailUrl,
+        IF(b.image_id is not null, CONCAT('https://api.opentalent.fr/app.php/_internal/secure/files/', b.image_id, '/300x0'), null) AS thumbnailUrl,
         (SELECT GROUP_CONCAT(DISTINCT CONCAT(f.code))
          FROM event_categories AS ec
             LEFT JOIN Categories AS cs ON(cs.id = ec.categories_id)