Order page reference completion by date modified
parent
dff2a3dfa4
commit
a1e3299fb8
|
@ -232,6 +232,7 @@ export async function pageComplete() {
|
||||||
from: prefix.from + 2,
|
from: prefix.from + 2,
|
||||||
options: allPages.map((pageMeta) => ({
|
options: allPages.map((pageMeta) => ({
|
||||||
label: pageMeta.name,
|
label: pageMeta.name,
|
||||||
|
boost: pageMeta.lastModified,
|
||||||
type: "page",
|
type: "page",
|
||||||
})),
|
})),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue