Restore email custom field type, filter out Mail app as cf type (and any other apps that do not support searching).

This commit is contained in:
Nathan Gray 2015-09-08 14:23:11 +00:00
parent 59914fd1fa
commit 21d42e7f12

View File

@ -41,6 +41,7 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
'select-account' => 'Select account',
'button' => 'Button', // button to execute javascript
'url' => 'Url',
'url-email'=> 'EMail',
'url-phone'=> 'Phone number',
'htmlarea' => 'Formatted Text (HTML)',
'link-entry' => 'Select entry', // should be last type, as the individual apps get added behind
@ -187,7 +188,7 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
$sel_options[$lname] = lang($label);
$fields_with_vals[]=$lname;
}
$link_types = egw_link::app_list();
$link_types = egw_link::app_list('query');
ksort($link_types);
foreach($link_types as $lname => $label)
{