-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): Collections can control inheritance of filters
Relates to #1382. This commit introduces a new property on the Collection entity & GraphQL type - `inheritFilters`. When set to `true` (the default), behaviour is the same as before - a Collection's filters will be composed of its own filters, plus those of all ancestors up to the root. Setting to `false` allows you to nest a Collection and set up filters which act completely independently of the parent filters. This allows much more flexibility in setting up category hierarchies. BREAKING CHANGE: The new `inheritFilters` property on the Collection entity will require a DB migration.
- Loading branch information
1 parent
8e0a2f5
commit 5d4206f
Showing
12 changed files
with
212 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.