forked from 0x2620/pandora
director is array
This commit is contained in:
parent
67f21246e9
commit
98119eb400
2 changed files with 2 additions and 2 deletions
|
|
@ -288,7 +288,7 @@ pandora.ui.filesView = function(options, self) {
|
|||
Ox.map(['id', 'title', 'director', 'year'], function(key) {
|
||||
var value = self['$' + key + 'Input'].options('value');
|
||||
if(value.length) {
|
||||
conditions[key] = value;
|
||||
conditions[key] = key == 'director' ? value.split(', ') : value;
|
||||
}
|
||||
});
|
||||
pandora.api.findId(conditions, function(result) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue