mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 23:48:28 +01:00
"also disable columns for which application supplies no label (eg. no custom fields exist)"
This commit is contained in:
parent
b2436d312b
commit
21edc1ac8a
@ -444,7 +444,7 @@ class nextmatch_widget
|
|||||||
$this->selectcols = $value['selectcols'];
|
$this->selectcols = $value['selectcols'];
|
||||||
}
|
}
|
||||||
if (!is_array($value['selectcols'])) $value['selectcols'] = explode(',',$value['selectcols']);
|
if (!is_array($value['selectcols'])) $value['selectcols'] = explode(',',$value['selectcols']);
|
||||||
foreach(array_keys($value['options-selectcols']) as $name)
|
foreach(array_unique(array_keys($value['options-selectcols']+$name2col)) as $name)
|
||||||
{
|
{
|
||||||
// set 'no_'.$col for each column-name to true, if the column is not selected
|
// set 'no_'.$col for each column-name to true, if the column is not selected
|
||||||
// (and the value is not set be the get_rows function / programmer!)
|
// (and the value is not set be the get_rows function / programmer!)
|
||||||
|
Loading…
Reference in New Issue
Block a user