Ghost/core/test/unit/models_plugins
Hannah Wolfe 7999c38fa2 Support filtering based on primary_tag (#9124)
closes #8668, refs #8920

- Updated tests to include internal tags
  - Tests had no example of an internal tag
  - Need this to show that the new filtering works as expected
- primary_tag is a calculated field
- This ensures that we can alias the field to equivalent logic in API filters
- By replacing primary_tag by a lookup based on a tag which has order 0
- bump ghost-gql to 0.0.8

**NOTE:**
Until GQL is refactored, there are limitations on what else can be filtered when using primary_tag in a filter e.g. it wont be possible to do a filter based on primary_tag AND/OR other tag filters.
2017-10-10 14:07:44 +02:00
..
access-rules_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
filter_spec.js Support filtering based on primary_tag (#9124) 2017-10-10 14:07:44 +02:00
pagination_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00