mirror of https://github.com/MISP/MISP
chg: [event:index] Allow passing list when filtering
parent
4270075c35
commit
22bca70f6b
|
@ -615,7 +615,11 @@ class EventsController extends AppController
|
|||
} else {
|
||||
$terms = $this->Event->distributionLevels;
|
||||
}
|
||||
$pieces = explode('|', $v);
|
||||
if (is_array($v)) {
|
||||
$pieces = $v;
|
||||
} else {
|
||||
$pieces = explode('|', $v);
|
||||
}
|
||||
$test = array();
|
||||
foreach ($pieces as $piece) {
|
||||
if ($filterString != "") {
|
||||
|
|
Loading…
Reference in New Issue