mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Events count filter by type in event reports #4261
This commit is contained in:
parent
e07958dab2
commit
aacdaf2f06
@ -129,7 +129,13 @@ function reporting_html_print_report($report, $mini = false) {
|
||||
$item['date']['to'],
|
||||
$label);
|
||||
|
||||
$table->data['description_row']['description'] = $item["description"]." - Total events: ".$item["total_events"];
|
||||
if($item["total_events"]){
|
||||
$table->data['description_row']['description'] = $item['description']." - Total events: ".$item["total_events"];
|
||||
}
|
||||
else{
|
||||
$table->data['description_row']['description'] = $item["description"];
|
||||
}
|
||||
|
||||
$table->colspan['description_row']['description'] = 3;
|
||||
|
||||
switch ($item['type']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user