Added covers to media module. Fixed 'New' sorting for all pages.

This commit is contained in:
2020-04-16 22:54:07 +02:00
parent 3b2bf921f3
commit 4b26f8f476
6 changed files with 5 additions and 23 deletions

View File

@@ -52,7 +52,6 @@ function initActorActions(store, _router) {
$limit:Int = 1000,
$after:Date = "1900-01-01",
$before:Date = "2100-01-01",
$isNew:[Boolean!] = [true,false]
$orderBy:[ReleasesActorsOrderBy!]
$exclude: [String!]
) {
@@ -138,9 +137,6 @@ function initActorActions(store, _router) {
}
}
}
isNew: {
in: $isNew
}
}
},
first: $limit,
@@ -176,8 +172,7 @@ function initActorActions(store, _router) {
limit,
after: store.getters.after,
before: store.getters.before,
isNew: store.getters.isNew,
orderBy: store.state.ui.range === 'upcoming' ? 'RELEASE_BY_RELEASE_ID__DATE_ASC' : 'RELEASE_BY_RELEASE_ID__DATE_DESC',
orderBy: store.getters.orderBy,
exclude: store.state.ui.filter,
});