Ok, now the file i was tryign to commit. This one add components to the filter

options, in case the report filters on something that is not being displayed.
This commit is contained in:
dave 2009-03-30 20:15:42 +00:00
parent bd8ce272b1
commit 466927a822

View File

@ -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);