We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fbcc64 + ae5a6a9 commit cab8b48Copy full SHA for cab8b48
1 file changed
services/docs/getChangelog/getChangelog.ts
@@ -94,7 +94,7 @@ export const getChangelog = async ({ page = 1, vLts = "false", singleVersion = "
94
};
95
const ltsMajVersion = sussOutLatestMajor(ltsMajorResult.DotcmsbuildsCollection[0], vLts);
96
//console.log("sussed as:", ltsMajVersion);
97
- const sortBy = 'Dotcmsbuilds.releasedDate desc, modDate desc';
+ const sortBy = 'Dotcmsbuilds.releasedDate desc, Dotcmsbuilds.minor desc';
98
const query = assembleQuery(buildQuery, ltsQuery, ltsMajVersion, (singleVersion && !ltsPatchVersion) ? `+Dotcmsbuilds.minor:${singleVersion}` : "", (ltsMajVersion ? 20 : limit), page, sortBy);
99
const result = await logRequest(async () => graphqlResults(query), 'getChangelog');
100
0 commit comments