|
|
@ -127,10 +127,16 @@ define(
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
sortingOptions: {
|
|
|
|
initialize: function () {
|
|
|
|
|
|
|
|
this.seriesCollection = SeriesCollection.clone();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.listenTo(SeriesCollection, 'sync', this._renderView);
|
|
|
|
|
|
|
|
this.listenTo(SeriesCollection, 'remove', this._renderView);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.sortingOptions = {
|
|
|
|
type : 'sorting',
|
|
|
|
type : 'sorting',
|
|
|
|
storeState : false,
|
|
|
|
storeState : false,
|
|
|
|
viewCollection: SeriesCollection,
|
|
|
|
viewCollection: this.seriesCollection,
|
|
|
|
items :
|
|
|
|
items :
|
|
|
|
[
|
|
|
|
[
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -159,13 +165,7 @@ define(
|
|
|
|
name : 'percentOfEpisodes'
|
|
|
|
name : 'percentOfEpisodes'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
initialize: function () {
|
|
|
|
|
|
|
|
this.seriesCollection = SeriesCollection;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.listenTo(SeriesCollection, 'sync', this._renderView);
|
|
|
|
|
|
|
|
this.listenTo(SeriesCollection, 'remove', this._renderView);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.filteringOptions = {
|
|
|
|
this.filteringOptions = {
|
|
|
|
type : 'radio',
|
|
|
|
type : 'radio',
|
|
|
|