mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fix missing eroles in element list 'Element role' column
This commit is contained in:
parent
6d226a7921
commit
4d8371d015
@ -46,6 +46,16 @@ class etemplate_widget_projectmanager extends etemplate_widget_transformer
|
||||
if ($this->type)
|
||||
{
|
||||
$pm_widget = new projectmanager_widget();
|
||||
|
||||
// Go direct to get full erole list
|
||||
$eroles = new projectmanager_eroles_bo();
|
||||
foreach((array)$eroles->search(array(),false,'role_title ASC','','',false,'AND',false,array('pm_id'=>array(0,$this->pm_id))) as $erole)
|
||||
{
|
||||
self::$request->sel_options[$form_name][$erole['role_id']] = array(
|
||||
'label' => $erole['role_description'],
|
||||
'title' => lang('Element role title').': '.$erole['role_title'].$eroles->get_info($erole['role_id']),
|
||||
);
|
||||
}
|
||||
$cell = $this->attrs;
|
||||
$cell['type']=$this->type;
|
||||
$cell['readonly'] = false; // Send not read-only to get full list
|
||||
|
Loading…
Reference in New Issue
Block a user