mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
add option "dosn't matter" to selectboxes in search-mode
This commit is contained in:
parent
519e6875d6
commit
fba9f65ae3
@ -42,6 +42,8 @@
|
||||
//merge old config_name in phpgw_config table
|
||||
$config_name = isset($config['customfields']) ? 'customfields' : 'custom_fields';
|
||||
$this->customfields = $config[$config_name];
|
||||
$this->advanced_search = $GLOBALS['egw_info']['etemplate']['advanced_search'];
|
||||
|
||||
}
|
||||
|
||||
function pre_process($name,&$value,&$cell,&$readonlys,&$extension_data,&$tmpl)
|
||||
@ -85,6 +87,7 @@
|
||||
switch ($field['type'])
|
||||
{
|
||||
case 'select' :
|
||||
if($this->advanced_search) $field['values'][''] = lang('doesn\'t matter');
|
||||
foreach($field['values'] as $key => $val)
|
||||
{
|
||||
if (substr($val = lang($val),-1) != '*')
|
||||
|
Loading…
Reference in New Issue
Block a user