mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-25 06:29:08 -06:00
fix search results
This commit is contained in:
@@ -48,8 +48,10 @@ export default class SearchResultsWidget extends BasicWidget {
|
||||
for (const result of results) {
|
||||
const link = $('<a>', {
|
||||
href: 'javascript:',
|
||||
text: result.notePathTitle
|
||||
}).attr('data-action', 'note').attr('data-note-path', result.notePath);
|
||||
text: result.notePathTitle,
|
||||
'data-action': 'note',
|
||||
'data-note-path': result.notePathArray.join('/')
|
||||
});
|
||||
|
||||
const $result = $('<li>').append(link);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user