1
0
Fork 0
forked from dlang/cdcdb

Исправление получение снимка по его идентификатору

This commit is contained in:
Alexander Zhirov 2025-11-14 00:00:27 +03:00
parent a6cccc04b1
commit 76a7efeceb
Signed by: alexander
GPG key ID: C8D8BE544A27C511

View file

@ -809,7 +809,7 @@ public:
JOIN users u ON u.uid = s.uid JOIN users u ON u.uid = s.uid
JOIN users r ON r.uid = s.ruid JOIN users r ON r.uid = s.ruid
JOIN files f ON f.id = s.file JOIN files f ON f.id = s.file
WHERE f.id = ?1 WHERE s.id = ?1
ORDER BY s.created_utc ORDER BY s.created_utc
}, id[] }, id[]
); );