Events count filter by type in event reports #4261
(cherry picked from commit aacdaf2f06
)
This commit is contained in:
parent
ef42605f4e
commit
13adfce896
|
@ -129,7 +129,13 @@ function reporting_html_print_report($report, $mini = false) {
|
||||||
$item['date']['to'],
|
$item['date']['to'],
|
||||||
$label);
|
$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;
|
$table->colspan['description_row']['description'] = 3;
|
||||||
|
|
||||||
switch ($item['type']) {
|
switch ($item['type']) {
|
||||||
|
|
Loading…
Reference in New Issue