note revisions changes WIP

This commit is contained in:
zadam
2019-11-01 19:21:48 +01:00
parent cf53cbf1dd
commit 4e5e3e4675
11 changed files with 51 additions and 50 deletions

View File

@@ -13,12 +13,12 @@ async function getRecentChanges() {
notes.title AS current_title,
notes.isProtected AS current_isProtected,
note_revisions.title,
note_revisions.utcDateModifiedTo AS date
note_revisions.utcDateCreated AS date
FROM
note_revisions
JOIN notes USING(noteId)
ORDER BY
utcDateModifiedTo DESC
utcDateCreated DESC
LIMIT 1000
)
UNION ALL SELECT * FROM (