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 () {
|
_getValue: function () {
|
||||||
|
|
||||||
|
var cellValue = this.column.get('cellValue');
|
||||||
|
|
||||||
|
if (cellValue) {
|
||||||
|
if (cellValue === 'this') {
|
||||||
|
return this.model;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var name = this.column.get('name');
|
var name = this.column.get('name');
|
||||||
|
|
||||||
if (name === 'this') {
|
if (name === 'this') {
|
||||||
|
|
|
@ -43,9 +43,10 @@ define(
|
||||||
cell : SeriesStatusCell
|
cell : SeriesStatusCell
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name : 'this',
|
name : 'title',
|
||||||
label: 'Title',
|
label : 'Title',
|
||||||
cell : SeriesTitleCell
|
cell : SeriesTitleCell,
|
||||||
|
cellValue: 'this'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name : 'seasonCount',
|
name : 'seasonCount',
|
||||||
|
|
Loading…
Reference in New Issue