mirror of https://github.com/MISP/MISP
chg: [events:index] Usage of UUIDfor restSearchExport feature
parent
fdc3a71713
commit
57b62dc511
|
@ -34,7 +34,7 @@ class AppController extends Controller
|
|||
|
||||
public $helpers = array('OrgImg', 'FontAwesome', 'UserName');
|
||||
|
||||
private $__queryVersion = '137';
|
||||
private $__queryVersion = '138';
|
||||
public $pyMispVersion = '2.4.157';
|
||||
public $phpmin = '7.2';
|
||||
public $phprec = '7.4';
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<tr id="event_<?= $eventId ?>">
|
||||
<?php if ($isSiteAdmin || ($event['Event']['orgc_id'] == $me['org_id'])):?>
|
||||
<td style="width:10px;">
|
||||
<input class="select" type="checkbox" data-id="<?= $eventId ?>" />
|
||||
<input class="select" type="checkbox" data-id="<?= $eventId ?>" data-uuid="<?= h($event['Event']['uuid']) ?>" />
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td style="padding-left:0;padding-right:0;"></td>
|
||||
|
|
|
@ -909,7 +909,7 @@ function multiSelectExportEvents() {
|
|||
var selected = [];
|
||||
$(".select").each(function() {
|
||||
if ($(this).is(":checked")) {
|
||||
var temp = $(this).data("id");
|
||||
var temp = $(this).data("uuid");
|
||||
if (temp != null) {
|
||||
selected.push(temp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue