Ghost/core/server/models/base/plugins
Daniel Lockyer f2ab12bb91
🐛 Fixed incorrect data returned when using API fields
refs 188de00489

- this fix was incorrect - the function should have been on the
  prototype but I'd moved it over incorrectly into the static class functions
- this commit moves `defaultColumnsToFetch` to the prototype functions
  and reverts the referenced commit back to `this.prototype` as expected
- this wasn't including the custom columns from the `post` model, which
  was causing tests to fail
- pro tip: run tests!
2021-06-24 13:47:15 +01:00
..
actions.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
bulk-operations.js Refactored out local DB require in bulk-operations plugin 2021-06-17 13:16:11 +01:00
crud.js 🐛 Fixed incorrect data returned when using API fields 2021-06-24 13:47:15 +01:00
data-manipulation.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
events.js Moved setId function to Bookshelf events plugin 2021-06-17 17:07:10 +01:00
filtered-collection.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
generate-slug.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
overrides.js Moved formatOnWrite function to Bookshelf override plugin 2021-06-17 16:47:47 +01:00
raw-knex.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
sanitize.js Fixed indenting for Bookshelf sanitize plugin JSDoc 2021-06-17 13:01:15 +01:00
user-type.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00