mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
event log now shows full path of notes and works with encryption
This commit is contained in:
@@ -7,8 +7,7 @@ const sql = require('../../services/sql');
|
||||
router.get('', async (req, res, next) => {
|
||||
await deleteOld();
|
||||
|
||||
const result = await sql.getResults("SELECT e.id, e.note_id, e.comment, e.date_added, n.note_title " +
|
||||
"FROM event_log e LEFT JOIN notes n ON e.note_id = n.note_id ORDER BY date_added DESC");
|
||||
const result = await sql.getResults("SELECT * FROM event_log ORDER BY date_added DESC");
|
||||
|
||||
res.send(result);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user