mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
becca conversion WIP
This commit is contained in:
@@ -6,6 +6,7 @@ const repository = require('../../services/repository');
|
||||
const log = require('../../services/log');
|
||||
const utils = require('../../services/utils');
|
||||
const cls = require('../../services/cls');
|
||||
const becca = require("../../services/becca/becca");
|
||||
|
||||
function getAutocomplete(req) {
|
||||
const query = req.query.query.trim();
|
||||
@@ -41,7 +42,7 @@ function getRecentNotes(activeNoteId) {
|
||||
params.push('%' + hoistedNoteId + '%');
|
||||
}
|
||||
|
||||
const recentNotes = repository.getEntities(`
|
||||
const recentNotes = becca.getRecentNotesFromQuery(`
|
||||
SELECT
|
||||
recent_notes.*
|
||||
FROM
|
||||
|
||||
Reference in New Issue
Block a user