Agents show events 24h switch checked default

This commit is contained in:
Calvo 2023-09-04 16:47:01 +02:00
parent 025aa9f72a
commit a8a201cf19
2 changed files with 2 additions and 2 deletions

View File

@ -2000,7 +2000,7 @@ if ($table_events) {
include_once 'include/functions_graph.php'; include_once 'include/functions_graph.php';
$id_agente = (int) get_parameter('id_agente'); $id_agente = (int) get_parameter('id_agente');
$all_events_24h = (int) get_parameter('all_events_24h'); $all_events_24h = (int) get_parameter('all_events_24h', 1);
// Fix: for tag functionality groups have to be all user_groups // Fix: for tag functionality groups have to be all user_groups
// (propagate ACL funct!). // (propagate ACL funct!).

View File

@ -43,7 +43,7 @@ html_print_div(
?> ?>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
events_table(0); events_table(1);
}); });
function events_table(all_events_24h){ function events_table(all_events_24h){