From afb6e860ea8612a506ac83715153457394e764cd Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 25 Dec 2022 13:06:06 +0100 Subject: [PATCH] fix docs --- docs/backend_api/global.html | 2 ++ docs/backend_api/services_backend_script_api.js.html | 2 +- src/services/backend_script_api.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/backend_api/global.html b/docs/backend_api/global.html index cefbb83e3..c2cc94c79 100644 --- a/docs/backend_api/global.html +++ b/docs/backend_api/global.html @@ -1562,6 +1562,8 @@ + title + diff --git a/docs/backend_api/services_backend_script_api.js.html b/docs/backend_api/services_backend_script_api.js.html index c9d76bd3c..7d05b7408 100644 --- a/docs/backend_api/services_backend_script_api.js.html +++ b/docs/backend_api/services_backend_script_api.js.html @@ -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] diff --git a/src/services/backend_script_api.js b/src/services/backend_script_api.js index 69102993d..df31fb2e6 100644 --- a/src/services/backend_script_api.js +++ b/src/services/backend_script_api.js @@ -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]