Ghost/test/regression/api/canary/admin
Kevin Ansfield f4d9a41d3b
Added ?paid query parameter to Admin API members browse endpoint (#11892)
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
2020-06-12 12:12:10 +01:00
..
authentication_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
db_spec.js Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
identities_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
images_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
labels_spec.js Added more specific error handling when adding duplicate labels 2020-06-05 00:23:10 +12:00
members_signin_url_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
members_spec.js Added ?paid query parameter to Admin API members browse endpoint (#11892) 2020-06-12 12:12:10 +01:00
notifications_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
pages_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
posts_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
redirects_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
schedules_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
settings_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
slack_spec.js Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
users_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
utils.js Added ?search= param to Admin API members endpoint (#11854) 2020-05-28 10:14:02 +01:00