Allow type option in listing

This commit is contained in:
Ruud
2014-04-05 11:50:12 +02:00
parent 84a2afe08f
commit eba36b6d57
@@ -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),