0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core
Daniel Lockyer 8fcb57bd6a Disabled new Bookshelf fetch behaviour across models
- as per https://github.com/bookshelf/bookshelf/wiki/Migrating-from-0.15.1-to-1.0.0#default-to-require-true-on-modelfetch-and-collectionfetchone, models will now default to `{require:true}` during a fetch, which changes how Bookshelf will respond when a models yields no results
- instead of passing a `null` result, it will reject with an error, so we'd need to switch to `.catch`ing everything
- our code is set up to handle all these null results and switching style is not currently on the cards so we want to use the existing behaviour for now
- to enable this, the `requireFetch` option needs to be added to the model definitions
2021-09-10 16:59:11 +01:00
..
client@ef223b0312 Updated Admin to v4.13.0 2021-09-06 12:21:31 +01:00
frontend Added beta {{products}} helper for tiers list on post (#13267) 2021-09-10 09:30:41 +05:30
server Disabled new Bookshelf fetch behaviour across models 2021-09-10 16:59:11 +01:00
shared Updated tiers as a beta feature from alpha 2021-09-09 16:57:46 +05:30
app.js
boot.js Added email unfreeze for verified email config 2021-07-29 20:30:30 +12:00
bridge.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00