Allow sorting by person ID with Actions column
This commit is contained in:
parent
97104b8392
commit
97dde99d99
@ -85,6 +85,7 @@ if (!empty($VARS['filter']) && preg_match("/(camper|adult|youth)/", $VARS['filte
|
|||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td>
|
<td>
|
||||||
|
<span class="d-none"><?php echo $person['id']; ?></span>
|
||||||
<a class="btn btn-primary btn-sm" href="app.php?page=editperson&id=<?php echo $person['id']; ?>"><i class="fas fa-edit"></i> <?php $Strings->get("Edit"); ?></a>
|
<a class="btn btn-primary btn-sm" href="app.php?page=editperson&id=<?php echo $person['id']; ?>"><i class="fas fa-edit"></i> <?php $Strings->get("Edit"); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<td><?php echo $person['firstname']; ?></td>
|
<td><?php echo $person['firstname']; ?></td>
|
||||||
|
@ -22,10 +22,6 @@ $('#campertable').DataTable({
|
|||||||
targets: 0,
|
targets: 0,
|
||||||
className: 'control',
|
className: 'control',
|
||||||
orderable: false
|
orderable: false
|
||||||
},
|
|
||||||
{
|
|
||||||
targets: 1,
|
|
||||||
orderable: false
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
order: [
|
order: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user