apply filter fix
This commit is contained in:
parent
7dc2aacfc6
commit
f8e1fff6d4
|
@ -69,6 +69,6 @@
|
|||
"filter" : "${init.input.filter}",
|
||||
"scriptExpression": "names=Java.from($.names); f=Java.from($.filter); if(f.length === 0) output=names; else { output=[]; for(i=0;i<names.length;i++){ if(filter.indexOf(names[i]) !== -1) output.push(names[i])}} return { 'names' : Java.to(output, 'java.lang.String[]')}"
|
||||
}
|
||||
},
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue