mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Default sort ordering.
Upcoming won't obey the comparator though.
This commit is contained in:
parent
eae414e8be
commit
e37f413e19
2 changed files with 9 additions and 10 deletions
|
@ -4,17 +4,13 @@ define(['app', 'Series/SeriesModel'], function () {
|
|||
url : NzbDrone.Constants.ApiRoot + '/series',
|
||||
model: NzbDrone.Series.SeriesModel,
|
||||
|
||||
mode: 'client',
|
||||
comparator: function(model) {
|
||||
return model.get('title');
|
||||
},
|
||||
|
||||
state: {
|
||||
sortKey: "title",
|
||||
order: -1,
|
||||
pageSize: 1000000
|
||||
},
|
||||
|
||||
queryParams: {
|
||||
sortKey: null,
|
||||
order: null
|
||||
order: -1
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue