Quality sorting for ManualSearch

This commit is contained in:
Mark McDowall 2013-09-25 20:49:22 -07:00
parent f0e721ee80
commit 0f4bfd7afc
4 changed files with 85 additions and 16 deletions

View file

@ -1,15 +1,13 @@
'use strict';
define(
[
'Release/Model',
'backbone.pageable'
], function (ReleaseModel, PagableCollection) {
return PagableCollection.extend({
'backbone',
'Release/Model'
], function (Backbone, ReleaseModel) {
return Backbone.Collection.extend({
url : window.NzbDrone.ApiRoot + '/release',
model: ReleaseModel,
mode: 'client',
state: {
pageSize: 2000
},