Should fix most issues with paging.

pull/2/head
Leonardo Galli 8 years ago
parent fe4e11d9c1
commit 21fa96f78f

@ -1,6 +1,7 @@
var NzbDroneController = require('../Shared/NzbDroneController');
var AppLayout = require('../AppLayout');
var MoviesCollection = require('./MoviesCollection');
var FullMovieCollection = require("./FullMovieCollection");
var MoviesIndexLayout = require('./Index/MoviesIndexLayout');
var MoviesDetailsLayout = require('./Details/MoviesDetailsLayout');
var SeriesDetailsLayout = require('../Series/Details/SeriesDetailsLayout');
@ -22,7 +23,7 @@ module.exports = NzbDroneController.extend({
},
seriesDetails : function(query) {
var series = MoviesCollection.where({ titleSlug : query });
var series = FullMovieCollection.where({ titleSlug : query });
if (series.length !== 0) {
var targetMovie = series[0];
console.log(AppLayout.mainRegion);

@ -2,7 +2,7 @@ var _ = require('underscore');
var $ = require('jquery');
var vent = require('vent');
var Backbone = require('backbone');
var SeriesCollection = require('../Movies/MoviesCollection');
var SeriesCollection = require('../Movies/FullMovieCollection');
require('typeahead');
vent.on(vent.Hotkeys.NavbarSearch, function() {

Loading…
Cancel
Save