2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core
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
..
client@cc79dc4711 Updated Ghost-Admin to v3.19.2 2020-06-11 19:55:43 +01:00
frontend Added manual check for stripe connect integration 2020-06-11 20:21:24 +02:00
server Added ?paid query parameter to Admin API members browse endpoint (#11892) 2020-06-12 12:12:10 +01:00
shared Added responsive-image srcset attribute to image and gallery card output 2020-06-11 13:28:44 +01:00
index.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00