This commit is contained in:
zadam 2022-12-25 13:06:06 +01:00
parent 435e042ae9
commit afb6e860ea
3 changed files with 4 additions and 2 deletions

View file

@ -1562,6 +1562,8 @@
<td class="default">
title
</td>

View file

@ -427,7 +427,7 @@ function BackendScriptApi(currentNote, apiParams) {
/**
* @typedef {Object} SortConfig
* @property {string} [sortBy] - 'title', 'dateCreated', 'dateModified' or a label name
* @property {string} [sortBy=title] - 'title', 'dateCreated', 'dateModified' or a label name
* see https://github.com/zadam/trilium/wiki/Sorting for details.
* @property {boolean} [reverse=false]
* @property {boolean} [foldersFirst=false]

View file

@ -399,7 +399,7 @@ function BackendScriptApi(currentNote, apiParams) {
/**
* @typedef {Object} SortConfig
* @property {string} [sortBy] - 'title', 'dateCreated', 'dateModified' or a label name
* @property {string} [sortBy=title] - 'title', 'dateCreated', 'dateModified' or a label name
* see https://github.com/zadam/trilium/wiki/Sorting for details.
* @property {boolean} [reverse=false]
* @property {boolean} [foldersFirst=false]