mirror of
https://github.com/zadam/trilium.git
synced 2025-02-20 21:13:11 +08:00
renamed inheritAttributes to template
This commit is contained in:
parent
4f1e6ec70f
commit
171877ce08
2 changed files with 2 additions and 2 deletions
|
@ -112,7 +112,7 @@ class Note extends Entity {
|
|||
JOIN treeWithAttrs ON treeWithAttrs.noteId = attributes.noteId
|
||||
WHERE attributes.isDeleted = 0
|
||||
AND attributes.type = 'relation'
|
||||
AND attributes.name = 'inheritAttributes'
|
||||
AND attributes.name = 'template'
|
||||
AND (attributes.noteId = ? OR attributes.isInheritable = 1)
|
||||
)
|
||||
SELECT attributes.* FROM attributes JOIN treeWithAttrs ON attributes.noteId = treeWithAttrs.noteId
|
||||
|
|
|
@ -25,7 +25,7 @@ const BUILTIN_ATTRIBUTES = [
|
|||
{ type: 'relation', name: 'runOnChildNoteCreation' },
|
||||
{ type: 'relation', name: 'runOnAttributeCreation' },
|
||||
{ type: 'relation', name: 'runOnAttributeChange' },
|
||||
{ type: 'relation', name: 'inheritAttributes' }
|
||||
{ type: 'relation', name: 'template' }
|
||||
];
|
||||
|
||||
async function getNotesWithLabel(name, value) {
|
||||
|
|
Loading…
Reference in a new issue