Added filter presets to consent warning. Updating scenes when tag filter changes.

This commit is contained in:
DebaucheryLibrarian
2021-01-04 01:30:39 +01:00
parent ab83a42dfb
commit 62ef041b35
8 changed files with 153 additions and 52 deletions

View File

@@ -27,6 +27,7 @@ function initActorActions(store, router) {
$orderBy:[ReleasesOrderBy!]
$selectableTags: [String],
$includedTags: [String!],
$exclude: [String!],
$mode: String!,
$includedEntities: [ReleaseFilter!],
$includedActors: [ReleaseFilter!]
@@ -203,6 +204,17 @@ function initActorActions(store, router) {
{
or: $includedActors
}
{
releasesTagsConnection: {
none: {
tag: {
slug: {
in: $exclude
}
}
}
}
}
]
}
selectedTags: $includedTags
@@ -228,7 +240,7 @@ function initActorActions(store, router) {
beforeTime: store.getters.before,
selectableTags: config.selectableTags,
orderBy,
excludeTags: store.state.ui.filter,
exclude: store.state.ui.tagFilter,
includedTags,
includedEntities: getIncludedEntities(router),
includedActors: getIncludedActors(router),