mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
disambiguous query
This commit is contained in:
parent
1d869d25c2
commit
522518cf0d
@ -21,8 +21,8 @@ function getRevisions(req) {
|
||||
LENGTH(blobs.content) AS contentLength
|
||||
FROM revisions
|
||||
JOIN blobs ON revisions.blobId = blobs.blobId
|
||||
WHERE noteId = ?
|
||||
ORDER BY utcDateCreated DESC`, [req.params.noteId]);
|
||||
WHERE revisions.noteId = ?
|
||||
ORDER BY revisions.utcDateCreated DESC`, [req.params.noteId]);
|
||||
}
|
||||
|
||||
function getRevision(req) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user