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

@@ -12,7 +12,6 @@ function initTagsActions(store, _router) {
$limit:Int = 1000,
$after:Date = "1900-01-01",
$before:Date = "2100-01-01",
$isNew:[Boolean!] = [true,false]
$orderBy: [ReleasesTagsOrderBy!],
$exclude: [String!]
) {
@@ -71,9 +70,6 @@ function initTagsActions(store, _router) {
}
}
}
isNew: {
in: $isNew
}
}
},
first: $limit,
@@ -90,8 +86,7 @@ function initTagsActions(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.isNew,
exclude: store.state.ui.filter,
});