forked from science-ation/science-ation
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:
parent
bd8ce272b1
commit
466927a822
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user