mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
9ff7423b2b
refs https://github.com/TryGhost/Ghost/issues/12420 - updated `order` bookshelf plugin's `parseOrderOption()` method to return multiple order-related properties - `order` same as before, a key-value object of property-direction - `orderRaw` new property that is a raw SQL order string generated from `orderRawQuery()` method in models - `eagerLoad` new property that is an array of properties the `eagerLoad` plugin should use to join across - updated `pagination.fetchAll()` to apply normal order + raw order if both are available and to handle eager loading / joins when `options.eagerLoad` is populated - updated post model to include details for email relationship and to add `orderRawQuery()` that allows `email.open_rate` to be used as an order option |
||
---|---|---|
.. | ||
authentication_spec.js | ||
db_spec.js | ||
identities_spec.js | ||
images_spec.js | ||
labels_spec.js | ||
members_signin_url_spec.js | ||
members_spec.js | ||
notifications_spec.js | ||
pages_spec.js | ||
posts_spec.js | ||
redirects_spec.js | ||
schedules_spec.js | ||
settings_spec.js | ||
slack_spec.js | ||
users_spec.js | ||
utils.js | ||
webhooks_spec.js |