Order page reference completion by date modified

demo
Zef Hemel 2022-11-20 08:51:27 +01:00
parent dff2a3dfa4
commit a1e3299fb8
1 changed files with 1 additions and 0 deletions

View File

@ -232,6 +232,7 @@ export async function pageComplete() {
from: prefix.from + 2,
options: allPages.map((pageMeta) => ({
label: pageMeta.name,
boost: pageMeta.lastModified,
type: "page",
})),
};