mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
* InfoLog: if searching do not suppress sub-entries (user preference "List no subs/childs" set)
This commit is contained in:
parent
ba944c0619
commit
f8849749a5
@ -857,8 +857,8 @@ class infolog_so
|
||||
}
|
||||
$pid = 'AND ' . $this->db->expression($this->info_table,array('info_id_parent' => ($action == 'sp' ?$query['action_id'] : 0)));
|
||||
|
||||
if (!$GLOBALS['egw_info']['user']['preferences']['infolog']['listNoSubs'] &&
|
||||
$action != 'sp' || isset($query['subs']) && $query['subs'])
|
||||
if (!$GLOBALS['egw_info']['user']['preferences']['infolog']['listNoSubs'] && $action != 'sp' ||
|
||||
isset($query['subs']) && $query['subs'] || $action != 'sp' && !empty($query['search']))
|
||||
{
|
||||
$pid = '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user