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
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{settings.SITENAME}}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>{{settings.SITENAME}}</title>
|
||||
<link rel="shortcut icon" type="image/png" href="/static/png/icon16.png"/>
|
||||
<link rel="icon" href="/static/png/icon64.png" sizes="32x32"/>
|
||||
<link rel="icon" href="/static/png/icon64.png" sizes="48x48"/>
|
||||
|
|
|
@ -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…
Reference in a new issue