diff --git a/admin/reports.inc.php b/admin/reports.inc.php index 60d658b..89b8930 100644 --- a/admin/reports.inc.php +++ b/admin/reports.inc.php @@ -665,6 +665,10 @@ foreach($report_stock as $n=>$v) { } $t = $filter_ops[$d['x']]; $filter[] = "{$fields[$f]['table']} $t '{$d['value']}'"; + if(is_array($fields[$f]['components'])) { + $components = array_merge($components, + $fields[$f]['components']); + } } $sel = implode(",", $sel); $order = implode(",", $order);