e49021b7ea
ref https://linear.app/tryghost/issue/CFR-31/ - when relations were included, erroneous logic resulted in the model's default sort being applied - the model default sort is not intended for the content API and needlessly slowed down responses - there's a change for users here that should be incredibly unlikely to be hit; default sort is `published_at desc` which will be secondarily sorted by `id desc` instead of `published_at desc, updated_at desc, id desc` This is a very significant performance improvement for content API requests with includes for sites with a significant amount of data, which will primarily impact those using Ghost as a CMS or theme {{#get}} helpers. |
||
---|---|---|
.. | ||
content | ||
core | ||
test | ||
.c8rc.e2e.json | ||
.c8rc.json | ||
.eslintignore | ||
.eslintrc.js | ||
.npmignore | ||
config.development.json | ||
ghost.js | ||
index.js | ||
jsconfig.json | ||
loggingrc.js | ||
MigratorConfig.js | ||
monobundle.js | ||
package.json | ||
playwright.config.js |