chg: [events:index] Usage of UUIDfor restSearchExport feature

pull/8277/head
Sami Mokaddem 2022-03-31 15:25:07 +02:00
parent fdc3a71713
commit 57b62dc511
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
3 changed files with 3 additions and 3 deletions

View File

@ -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';

View File

@ -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>

View File

@ -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);
}