694ab1d32d
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'}]` |
||
---|---|---|
.. | ||
fixtures | ||
.eslintrc.js | ||
Collection.test.ts | ||
collections.test.ts | ||
RepositoryUniqueChecker.test.ts |