mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
* InfoLog: if searching do not suppress sub-entries (user preference "List no subs/childs" set)
This commit is contained in:
parent
5d7c91a66e
commit
60c5847df3
@ -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