Replaced batch ranges with 'New' sorting.
This commit is contained in:
@@ -9,7 +9,6 @@ function initReleasesActions(store, _router) {
|
||||
$limit:Int = 1000,
|
||||
$after:Date = "1900-01-01",
|
||||
$before:Date = "2100-01-01",
|
||||
$isNew:[Boolean!] = [true,false]
|
||||
$orderBy:[ReleasesOrderBy!],
|
||||
$exclude: [String!]
|
||||
) {
|
||||
@@ -19,8 +18,7 @@ function initReleasesActions(store, _router) {
|
||||
limit,
|
||||
after: store.getters.after,
|
||||
before: store.getters.before,
|
||||
isNew: store.getters.isNew,
|
||||
orderBy: store.state.ui.range === 'upcoming' ? 'DATE_ASC' : 'DATE_DESC',
|
||||
orderBy: store.getters.orderBy,
|
||||
exclude: store.state.ui.filter,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user