mirror of https://github.com/lidarr/Lidarr
Series grid sorts on title now
This commit is contained in:
parent
135cf3ce17
commit
b9dc803e0b
|
@ -23,6 +23,14 @@ define(
|
|||
|
||||
_getValue: function () {
|
||||
|
||||
var cellValue = this.column.get('cellValue');
|
||||
|
||||
if (cellValue) {
|
||||
if (cellValue === 'this') {
|
||||
return this.model;
|
||||
}
|
||||
}
|
||||
|
||||
var name = this.column.get('name');
|
||||
|
||||
if (name === 'this') {
|
||||
|
|
|
@ -43,9 +43,10 @@ define(
|
|||
cell : SeriesStatusCell
|
||||
},
|
||||
{
|
||||
name : 'this',
|
||||
label: 'Title',
|
||||
cell : SeriesTitleCell
|
||||
name : 'title',
|
||||
label : 'Title',
|
||||
cell : SeriesTitleCell,
|
||||
cellValue: 'this'
|
||||
},
|
||||
{
|
||||
name : 'seasonCount',
|
||||
|
|
Loading…
Reference in New Issue