0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
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
..
adapters 🐛 Fixed post scheduling (#8976) 2017-09-05 19:23:11 +01:00
api Support for attribute-based permissions (#9025) 2017-09-26 18:06:14 +02:00
auth Removed defunct Ghost OAuth code (#9014) 2017-09-18 13:01:58 +01:00
config fix(config): cleanup absolute path config function (#8641) 2017-07-06 00:04:18 +02:00
controllers Splitted preview & single controllers from index (#9121) 2017-10-09 13:56:44 +02:00
data/importer 🎨 Support LTS imports (#8498) 2017-06-04 11:53:00 +02:00
mail Improved log output for welcome email error (#9016) 2017-09-19 14:24:20 +01:00
metadata 🐛 Fixed author helper not returning the correct url (#9102) 2017-10-05 13:50:55 +02:00
middleware 🐛 Fixed doubled query params for url/admin-url redirection 2017-09-14 07:55:14 +07:00
models/base
models_plugins Support filtering based on primary_tag (#9124) 2017-10-10 14:07:44 +02:00
permissions Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
server_helpers 🐛 Fixed author helper not returning the correct url (#9102) 2017-10-05 13:50:55 +02:00
settings 🐛 fix settings cache (#8506) 2017-06-04 17:52:22 +07:00
sitemap
themes 🐛 Remove trailing slash for {{@blog.url}} (#8596) 2017-06-19 16:11:53 +02:00
utils Tests: Sort out usage of content folder in tests (#9034) 2017-09-21 15:05:35 +01:00
admin_spec.js
apps_filters_spec.js
apps_spec.js
errors_spec.js
exporter_spec.js
filters_spec.js
ghost_sdk_spec.js 🐛 Fixed api url for the ghost sdk (#9013) 2017-09-18 16:28:22 +01:00
migration_fixture_utils_spec.js Allow Upload/Download of redirects.json (#9029) 2017-09-21 16:01:03 +01:00
migration_spec.js Allow Upload/Download of redirects.json (#9029) 2017-09-21 16:01:03 +01:00
rss_spec.js Removed hardcoded url structures from RSS (#9113) 2017-10-09 16:08:53 +02:00
server_helpers_index_spec.js
server_helpers_template_spec.js
server_utils_spec.js
slack_spec.js 📖 new default post content (#8548) 2017-06-08 16:36:14 +01:00
social-urls_spec.js
utils_pipeline_spec.js
validation_spec.js
xmlrpc_spec.js 📖 new default post content (#8548) 2017-06-08 16:36:14 +01:00