mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Fixed sorting on episode tables
This commit is contained in:
parent
3b4a1986c5
commit
efbf89fac9
@ -37,7 +37,8 @@ define(
|
||||
cell : ToggleCell,
|
||||
trueClass : 'icon-bookmark',
|
||||
falseClass: 'icon-bookmark-empty',
|
||||
tooltip : 'Toggle monitored status'
|
||||
tooltip : 'Toggle monitored status',
|
||||
sortable : false
|
||||
},
|
||||
{
|
||||
name : 'episodeNumber',
|
||||
@ -47,9 +48,10 @@ define(
|
||||
})
|
||||
},
|
||||
{
|
||||
name : 'this',
|
||||
label: 'Title',
|
||||
cell : EpisodeTitleCell
|
||||
name : 'this',
|
||||
label : 'Title',
|
||||
cell : EpisodeTitleCell,
|
||||
sortable: false
|
||||
},
|
||||
{
|
||||
name : 'airDate',
|
||||
@ -57,9 +59,10 @@ define(
|
||||
cell : AirDateCell
|
||||
} ,
|
||||
{
|
||||
name : 'status',
|
||||
label: 'Status',
|
||||
cell : EpisodeStatusCell
|
||||
name : 'status',
|
||||
label : 'Status',
|
||||
cell : EpisodeStatusCell,
|
||||
sortable: false
|
||||
}
|
||||
],
|
||||
|
||||
|
@ -32,6 +32,11 @@ define(
|
||||
}
|
||||
|
||||
return 0;
|
||||
},
|
||||
|
||||
state: {
|
||||
sortKey: 'episodeNumber',
|
||||
order : -1
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user