From eba36b6d577fb9fc010c8dee9be1f9802d946160 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 5 Apr 2014 11:50:12 +0200 Subject: [PATCH] Allow type option in listing --- couchpotato/core/media/movie/_base/static/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/media/movie/_base/static/list.js b/couchpotato/core/media/movie/_base/static/list.js index 1e8a38f..9120750 100644 --- a/couchpotato/core/media/movie/_base/static/list.js +++ b/couchpotato/core/media/movie/_base/static/list.js @@ -552,7 +552,7 @@ var MovieList = new Class({ Api.request(self.options.api_call || 'media.list', { 'data': Object.merge({ - 'type': 'movie', + 'type': self.options.type || 'movie', 'status': self.options.status, 'limit_offset': self.options.limit ? self.options.limit + ',' + self.offset : null }, self.filter),