mirror of https://github.com/MISP/MISP
Search result downloads (CSV format)
- added the button for the CSV download - fixed a bug with the csv search result downloader blocking non IOC results even if the search terms did not specify IOCs only.pull/217/head
parent
bc0919344b
commit
3812d02309
|
@ -1531,7 +1531,6 @@ class EventsController extends AppController {
|
|||
foreach ($attributeIDList as $aID) {
|
||||
$conditions['AND']['OR'][] = array('Attribute.id' => $aID);
|
||||
}
|
||||
$conditions['AND'][] = array('Attribute.to_ids =' => 1);
|
||||
}
|
||||
|
||||
$params = array(
|
||||
|
|
|
@ -139,6 +139,7 @@ endforeach;
|
|||
<?php if ($isSearch == 1): ?>
|
||||
<li class="divider"></li>
|
||||
<li><a href="/events/downloadSearchResult">Download results as XML</a></li>
|
||||
<li><a href="/events/csv/download/search">Download results as CSV</a></li>
|
||||
<?php endif; ?>
|
||||
<li class="divider"></li>
|
||||
<li><a href="/events/export">Export</a></li>
|
||||
|
|
Loading…
Reference in New Issue