diff --git a/workspaces/cms-scripts/src/algolia.ts b/workspaces/cms-scripts/src/algolia.ts index 234144fc48e..641eb950e21 100644 --- a/workspaces/cms-scripts/src/algolia.ts +++ b/workspaces/cms-scripts/src/algolia.ts @@ -81,6 +81,13 @@ try { }) .wait(); } + + if (resourceName === "jobs") { + await index.setSettings({ + customRanking: ["desc(published_at_ts)"], + }); + + } } } catch (err) { console.error(err);