0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/utils/fixtures
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
..
config
csv Added special handling for member import with Stripe connection 2020-06-09 23:02:38 +12:00
data 🐛 Fixed regex match replacement when dealing with external URLs (#11781) 2020-04-30 07:51:36 +01:00
export
filter-param Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
images
import
settings
themes Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
data-generator.js Added ?paid query parameter to Admin API members browse endpoint (#11892) 2020-06-12 12:12:10 +01:00
test.hbs