mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
make sure to load all cfs, if "customfield" in in selected columns
This commit is contained in:
parent
9397280688
commit
767069a54c
@ -377,10 +377,13 @@ class so_sql_cf extends so_sql
|
|||||||
$id2keys[$row[$this->autoinc_id]] = $key;
|
$id2keys[$row[$this->autoinc_id]] = $key;
|
||||||
}
|
}
|
||||||
// check if only certain cf's to show
|
// check if only certain cf's to show
|
||||||
|
if (!in_array('customfields', $selectcols))
|
||||||
|
{
|
||||||
foreach($selectcols as $col)
|
foreach($selectcols as $col)
|
||||||
{
|
{
|
||||||
if ($this->is_cf($col)) $fields[] = $this->get_cf_name($col);
|
if ($this->is_cf($col)) $fields[] = $this->get_cf_name($col);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (($cfs = $this->read_customfields(array_keys($id2keys),$fields)))
|
if (($cfs = $this->read_customfields(array_keys($id2keys),$fields)))
|
||||||
{
|
{
|
||||||
foreach($cfs as $id => $data)
|
foreach($cfs as $id => $data)
|
||||||
|
Loading…
Reference in New Issue
Block a user