Allow type option in listing
This commit is contained in:
@@ -552,7 +552,7 @@ var MovieList = new Class({
|
|||||||
|
|
||||||
Api.request(self.options.api_call || 'media.list', {
|
Api.request(self.options.api_call || 'media.list', {
|
||||||
'data': Object.merge({
|
'data': Object.merge({
|
||||||
'type': 'movie',
|
'type': self.options.type || 'movie',
|
||||||
'status': self.options.status,
|
'status': self.options.status,
|
||||||
'limit_offset': self.options.limit ? self.options.limit + ',' + self.offset : null
|
'limit_offset': self.options.limit ? self.options.limit + ',' + self.offset : null
|
||||||
}, self.filter),
|
}, self.filter),
|
||||||
|
|||||||
Reference in New Issue
Block a user