mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
smaller search improvements
This commit is contained in:
@@ -60,11 +60,13 @@ function createSqlConsole() {
|
||||
function createSearchNote() {
|
||||
const today = dateUtils.localNowDate();
|
||||
|
||||
const todayNote = dateNoteService.getDateNote(today);
|
||||
const searchHome =
|
||||
attributeService.getNoteWithLabel('searchHome')
|
||||
|| dateNoteService.getDateNote(today);
|
||||
|
||||
const {note} = noteService.createNewNote({
|
||||
parentNoteId: todayNote.noteId,
|
||||
title: 'Search',
|
||||
parentNoteId: searchHome.noteId,
|
||||
title: 'Search: ',
|
||||
content: "",
|
||||
type: 'search',
|
||||
mime: 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user