2013-06-24 23:41:59 +00:00
|
|
|
|
'use strict';
|
|
|
|
|
define(
|
|
|
|
|
[
|
|
|
|
|
'Series/SeasonModel',
|
|
|
|
|
'backbone.pageable'
|
|
|
|
|
], function (SeasonModel, PageAbleCollection) {
|
|
|
|
|
return PageAbleCollection.extend({
|
|
|
|
|
url : window.ApiRoot + '/season',
|
|
|
|
|
model: SeasonModel,
|
2013-05-12 15:53:39 +00:00
|
|
|
|
|
2013-06-24 23:41:59 +00:00
|
|
|
|
mode: 'client',
|
2013-05-12 15:53:39 +00:00
|
|
|
|
|
2013-06-24 23:41:59 +00:00
|
|
|
|
state: {
|
|
|
|
|
sortKey : 'seasonNumber',
|
|
|
|
|
order : 1,
|
|
|
|
|
pageSize: 1000000
|
|
|
|
|
},
|
2013-05-12 15:53:39 +00:00
|
|
|
|
|
2013-06-24 23:41:59 +00:00
|
|
|
|
queryParams: {
|
|
|
|
|
sortKey: null,
|
|
|
|
|
order : null
|
|
|
|
|
}
|
|
|
|
|
});
|
2013-03-03 22:42:26 +00:00
|
|
|
|
});
|