Ghost/ghost/core/test/e2e-api
Steve Larson e49021b7ea
🐛 Fixed default sort for the content API posts endpoint with included relations (#20333)
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.
2024-06-05 13:26:10 -05:00
..
admin Renamed subtitle to excerpt (#20334) 2024-06-05 17:59:30 +01:00
content 🐛 Fixed default sort for the content API posts endpoint with included relations (#20333) 2024-06-05 13:26:10 -05:00
members Used a base64 encoded string for hmac secret (#20269) 2024-05-28 14:12:48 +07:00
members-comments Added /comments/:id/replies/ to X-Cache-Invalidate 2024-02-28 23:15:02 +00:00
shared Added portal default plan setting (#19238) 2023-12-06 11:39:58 +01:00
webmentions Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00