Ghost/core
Katharina Irrgang e89a27f3ab
Replaced options.where GQL statements with filter notation (#10160)
refs #10105

- `options.where` is an older deprecated logic
- before the filter language was invented, Ghost generates statements for knex
- if we want to replace GQL with NQL, we can't generate these statements
- they are not understood from NQL, because NQL uses mongo JSON
- go through usages and rewrite the statements
- invent `extraFilters` for now
- we need to keep the support for `status` or `staticPages` for now (API requirement)
- IMO both shortcuts in the extra filters should be removed in the future

This commit is required for https://github.com/TryGhost/Ghost/pull/10159!
2018-11-15 15:53:24 +01:00
..
client@2990865537 Updated Ghost-Admin to 2.6.0 2018-11-13 12:51:06 +00:00
server Replaced options.where GQL statements with filter notation (#10160) 2018-11-15 15:53:24 +01:00
test Replaced options.where GQL statements with filter notation (#10160) 2018-11-15 15:53:24 +01:00
index.js Changed where we trigger server start/stop announcement (#9815) 2018-08-22 13:28:31 +02:00