mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 06:12:03 +03:00
f4d9a41d3b
no issue - NQL does not support the relationship setup that members->stripe customer<->stripe subscriptions uses so it wasn't possible to use the `filter` param to query against having an active subscription - adds `customQuery` bookshelf plugin that allows customisation of SQL query used in `findPage` method by individual models - use `customQuery` in Member model to set up joins and conditionals to select free/paid members when `options.paid` is present - allow `?paid` param through API and permitted options for member model |
||
---|---|---|
.. | ||
actions_spec.js | ||
config_spec.js | ||
db_spec.js | ||
email_preview_spec.js | ||
emails_spec.js | ||
images_spec.js | ||
integrations_spec.js | ||
invites_spec.js | ||
key_authentication_spec.js | ||
labels_spec.js | ||
mail_spec.js | ||
members_spec.js | ||
notifications_spec.js | ||
oembed_spec.js | ||
pages_spec.js | ||
posts_spec.js | ||
roles_spec.js | ||
settings_spec.js | ||
slugs_spec.js | ||
tags_spec.js | ||
themes_spec.js | ||
users_spec.js | ||
utils.js | ||
webhooks_spec.js |