Ghost/core/server/models
Daniel Lockyer f65c425786 🐛 Fixed searching for free/paid members
no issue

- when searching for paid/free members, the `members_stripe_customers`
  table would be joined into the query on `members`
- this table also has a `name` and `email` field, so both MySQL and
  SQLite would complain about ambiguous fields in the query
- the result of this would be a 500 error thrown inside Ghost, and no
  useful response to the user
- this commit explicitly chooses the `members` table to check against,
  and also adds a test for this
2020-07-06 09:09:08 +01:00
..
base Renamed settings keys active_timezone to timezone 2020-06-24 14:11:20 +12:00
plugins Added ?paid query parameter to Admin API members browse endpoint (#11892) 2020-06-12 12:12:10 +01:00
relations Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
action.js
api-key.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
author.js
email.js
index.js
integration.js
invite.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
label.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
member-stripe-customer.js
member.js 🐛 Fixed searching for free/paid members 2020-07-06 09:09:08 +01:00
mobiledoc-revision.js
permission.js
post.js Fixed population of image sizes when forcing re-render of posts 2020-06-18 14:02:53 +01:00
posts-meta.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
role.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
session.js
settings.js Cleaned up onValidate method on settings model 2020-07-03 10:37:13 +02:00
stripe-customer-subscription.js
tag-public.js
tag.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
user.js refactored 'lib/image' imports to use destructuring (#11847) 2020-05-26 19:11:23 +01:00
webhook.js