Ghost/ghost/collections/test
Naz 694ab1d32d Added support for expansions in collection filters
refs https://github.com/TryGhost/Arch/issues/46

- Similarly to post filters, collection filters now support both 'tag' and 'tags' nql filter keys when defining a filter for related tag slugs. For example, both `tag:avocado` and `tags:avocado` would both be valid collection filters that would filter by the same 'slug' property of the tags assigned to a post.
- Along with these changes had to rework the tags property of the collection posts to match the shape used in post resources. Moved from:
`tags: ['bacon', 'broc']`
to
`tags:[{slug: 'bacon'}, {slug: 'broc'}]`
2023-07-25 19:01:56 +08:00
..
fixtures Added tag filter support to collections 2023-07-18 20:18:54 +08:00
.eslintrc.js Added a collections package with CRUD logic 2023-05-16 12:21:31 +07:00
Collection.test.ts Added support for expansions in collection filters 2023-07-25 19:01:56 +08:00
collections.test.ts Cleaned up CollectionsService from unused code 2023-07-21 19:46:22 +08:00
RepositoryUniqueChecker.test.ts Ensured uniqueness of slug in collections 2023-06-29 01:40:05 +01:00