mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
NextAiring sorting is not as drunk anymore
This commit is contained in:
parent
642f56c221
commit
d89d9e67c2
3 changed files with 16 additions and 15 deletions
|
@ -68,9 +68,11 @@ define(
|
|||
var key = this.state.sortKey;
|
||||
var order = this.state.order;
|
||||
|
||||
if (this.sorters && this.sorters[key] && this.mode === 'client') {
|
||||
if (this[key] && this.mode === 'client') {
|
||||
var sortValue = this[key];
|
||||
|
||||
this.setSorting(key, order, { sortValue: sortValue });
|
||||
|
||||
var comparator = this._makeComparator(key, order, sortValue);
|
||||
this.fullCollection.comparator = comparator;
|
||||
this.fullCollection.sort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue