Series grid sorts on title now

This commit is contained in:
Mark McDowall 2013-07-17 19:09:34 -07:00
parent 135cf3ce17
commit b9dc803e0b
2 changed files with 12 additions and 3 deletions

View File

@ -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') {

View File

@ -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',